G5/G6-Family AT Commands User Manual Page
Sent message reference number.
Message header and contents in PDU mode format. See description in
“+CMGW,
Write Message to Memory”.
Example:
AT+CMGS="064593042",129
>This is the message body <CTRL+Z> //<CTRL+Z> ends the prompt text mode and returns to
regular AT command mode
OK
AT+CMGF=0
OK
AT+CMGS=24
>079179521201009511FF0B917962543940F20008001400410042004300440045 <CTRL+Z>
+CMGS: 128
OK
Note:
Any character sent by TE to Module before Module has reported a result of AT+CMGS operation, will
abort AT+CMGS command execution. However, if SMS was already sent to network and sending
operation was successful, the result of operation "+CMGS <mr>" will be reported by Module.
A flex dependent enhancement enables the reporting of numeric error code to TE, in case the
sending operation has failed. The numeric error code will be reported in format: "+CMGS ERROR:
<err>".
If after aborting AT+CMGS command execution and before result of operation was reported by
Module, a second AT+CMGS command is executed, then the result of the second AT+CMGS
operation only will be reported by Module.
If AT+CSCS=”HEX” , the SMS cannot be sent (CMGS).