Page 1 of 1

Send SMS message

Posted: Wed 26. Oct 2016, 15:22
by JPS7495
Some questions about SMS:
I receive somes frame on serial port:
+WIND :3 (is it related to <event> from document AT_Command_Interface_Guide page 141)

I try to send sms with function:
sms_send("bonjour",7,"06xxxxxxxx",11);
It has no effect,
Do we need to write like this
sms_send("bonjour/r/n",7,"06xxxxxxxx/r/n",11);

Do you have an example which works?

regards

Re: Send SMS message

Posted: Thu 27. Oct 2016, 08:28
by S.Michaelsen
Any existing examples where delivered with the Product on CD.
For closer details to the message sending command please have a look into GPRS modules documentation (AT_Command_Interface_Guide.pdf chapter "Send Message +CMGS").

I'm not sure if you've replaced any digit of the number you try to send with a 'x' but if so you might try to
sms_send("bonjour",7,"06xxxxxxxx",10);

The behavior of the AT-Firmware might be unexpected if there is an '\0' at the end of the destination address while it ignores an additional '\r'.

regards,
Stephan