> I am sending SMS messages via AT commands programmatically.
> I am using Text mode (AT+CMGF=1) and have discovered that the
[quoted text clipped - 8 lines]
> Nokia AT command manual states Nokia devices (as per the ETSI
> standard) accepts 160.
When you send your AT commands to the phone, how are you
terminating them?
The correct termination is a single <carriage return> character,
char(13), WITHOUT a <linefeed>. Many devices will tolerate a
<carriage return><linefeed> 2-character sequence. This is the
usual end-of-line sequence you'd use with peripheral devices.
If you're using
AT+CMGS=<da><carriage return><linefeed>
I wouldn't be surprised to see the Nokias counting the <linefeed>
as a character to be sent.
John
Anonymous - 29 Feb 2004 22:09 GMT
Thanks for your response.
All sent commands are terminated with <cr>
Indeed after reading your comments I reviewed my code and discovered that
the sending function I created actually terminated the expected SMS text
stream with <ctrl-z><cr>
Reviewing the ETSI spec I discovered this should not be done, the sms
message text should only be terminated with <ctrl-z>
It seems the WaveCom modem ignored this extra character while the Nokia
complained.
Anyway, a quick code adjustment and all is now OK.
Regs,
-J.
> > I am sending SMS messages via AT commands programmatically.
> > I am using Text mode (AT+CMGF=1) and have discovered that the
[quoted text clipped - 25 lines]
>
> John