ME310G1/ME910G1/ML865G1 AT Commands Reference Guide
80617ST10991A Rev.4 Page 232 of 545 2020-04-15
3.5.12. AT+CMGL - List Messages
This command is used to list the messages.
3GPP TS 27.005
3GPP TS 23.040
3GPP TS 23.038
AT+CMGL[=<stat>]
Execution command reports the list of all the messages with status value <stat> stored into
<memr> message storage (<memr> is the message storage for read and delete SMs as last
settings of command +CPMS).
Parameter:
<stat> parameter type and the command output depend on the
last settings of the +CMGF command (message format to be
used). There are two modes:
• PDU mode
• Text mode
See the following Additional info sections.
When message format is PDU mode, the <stat> parameter is:
stored message not sent yet
stored message already sent
In case of PDU mode the representation format (see +CMGF) is:
+CMGL: <index>,<stat>,<alpha>,<length><CR><LF><pdu>[<CR><LF>
+CMGL: <index>,<stat>,<alpha>,<length><CR><LF><pdu>[...]]