AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page94of233
+CMGS - Send Message
is used;1072 chars if UCS2 is used
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
AT+CMSS=?
Test command resturns the OK result code.
Note
To avoid malfunctions is suggested to wait for the +CMSS: <mr> or +CMS
ERROR: <err> response before issuing further commands.
Example
AT+CMGF=1
OK
AT+CMGW="0165872928"
> test message...
+CMGW: 28
AT+CMSS=28
+CMSS: 136
OK
Reference
3GPP TS 27.005
Write Message to Memory - +CMGW
+CMGW - Write Message To Memory
(PDU Mode)
AT+CMGW=
<length>
[,<stat>]
(PDU Mode)
Execution command writes in the <memw> memory storage a new message.
Parameter: