Send SMS message

Platform for Telematic Applications
Post Reply
JPS7495
Posts: 9
Joined: Fri 18. Dec 2015, 10:38

Send SMS message

Post by JPS7495 » Wed 26. Oct 2016, 15:22

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

S.Michaelsen
Hardware Development
Hardware Development
Posts: 87
Joined: Fri 10. Sep 2010, 13:11

Re: Send SMS message

Post by S.Michaelsen » Thu 27. Oct 2016, 08:28

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

Post Reply