I’m stuck on something, hopefully simple…
If I was not interested in receiving SMS’s or responses, but just wanted to to send an sms from my Electron to my phone (using a 3rd party SIM), what would be the simplest code?
From krvarma’s post, the simple format for a direct sms should be “AT+CMGS=”"<129/145><ctrl+z>"
As a noob, I’m guessing that the implementation might look like this:
const char* phNum = “0427473xxx”;
void setup() {
Cellular.command ("AT+CMGS=",phNum,"129\r\n","Hello world",0x1A);
}
void loop() {
}
It compiles ok, but unfortunately it doesn’t work. Can someone please put me straight, or am i barking up the wrong tree?