HE863 family AT commands reference guide
80377ST10083a Rev.6 – 2012-11-12
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved.
Page 126 of
229
+CMGS - Send Message
+CMGS: <mr>[,<scts>]
where
<mr>
- message reference number.
<scts>
- TP-Service Centre Time Stamp in Time String Format.
Note: if message sending fails for some reason, an error code is reported.
Note: concatenated SMS is not supported
Note: In text mode, the maximum length of an SMS depends on the used coding
scheme: It is 160 characters if the 7 bit GSM coding scheme is used, and 140
characters according to the 8 bit GSM coding scheme.
Note: SIO consumes all SMS commands and also the text entered by user. So C-AT
doesnot receive any SMS commands until SIO is fixed.
AT+CMGS=?
Test command resturns the
OK
result code.
Note
To avoid malfunctions is suggested to wait for the
+CMGS: <mr>
or
+CMS
ERROR: <err>
response before issuing further commands.
Example
Set PDU mode
AT+CMGF=0
AT+CMGS=18
> 088128010099010259115507811020905512F90000A704F4F29C0E
+CMGS: 124
OK
Set text mode
AT+CMGF=1
AT+CSMP=17,167,0,0
AT+CMGS=”01090255219”,129
>TEST MESSAGE
+CMGS:125
OK
Reference
3GPP TS 27.005