ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 240 of 545 2020-04-15
3.5.14. AT+CMGS - Send Short Message
The command is related to sending short messages.
3GPP TS 27.005
3GPP TS 23.040
3GPP TS 23.038
AT+CMGS
Execution command sends a short message to the network. It can have two syntax formats
according to the SMS format: PDU or Text mode (see +CMGF command). If short message is
successfully sent to the network, the result is shown with the following URC:
+CMGS: <mr>[,<scts>]
Additional info:
In PDU mode the +CMGS command has the following syntax:
AT+CMGS=<length>
After command line is terminated with <CR>, the module responds sending a four-
character sequence prompt:
<CR><LF><greater_than><space> (IRA 13, 10, 62, 32)
and waits for the specified number of bytes. the PDU shall be hexadecimal format (each
octet of the PDU is given as two IRA character long hexadecimal number) and given in
one line.
To send the message issue Ctrl-Z char (0x1A hex). To exit without sending the message
issue ESC char (0x1B hex).
length in bytes of the PDU to be sent (excluding the
SMSC address octets)
In Text mode the +CMGS command has the following syntax:
AT+CMGS=<da>[,<toda>]
After command line is terminated with <CR>, the module responds sending a four-
character sequence prompt: