List messages +cmgl, Syntax, Parameters and values pdu mode – Synaccess Networks NP-0801DTM User Manual
Page 133: Parameters and values text mode

3GPP TS 27.005 AT COMMANDS FOR SMS AND CBS
133
HSPA+ AT Commands Reference Guide
List Messages +CMGL
Execute command reports the list of all the messages with status value
storage.
The parameter type and the command output depend on the last settings of command +CMGF (message format
to be used).
Test command returns a list of supported
Syntax
Command
Command type
AT+CMGL[=
Execute
AT+CMGL=?
Test
Parameters and Values PDU Mode
PDU mode is used when the device is set to PDU mode by command AT+CMGF=0.
0
New message.
1
Read message.
2
Stored message not yet sent.
3
Stored message already sent.
4
All messages.
If there is at least one message to be listed the representation format is:
+CMGL:
+CMGL:
where:
corresponding to an entry found in the phonebook; used character set is the one
selected with command +CSCS.
Parameters and Values Text Mode
Text mode is used when the device is set to PDU mode by command
AT+CMGF=1
.
"REC UNREAD"
New message
"REC READ"
Read message
"STO UNSENT"
Stored message not yet sent
"STO SENT"
Stored message already sent
"ALL"
All messages
The representation format for stored messages (either sent or unsent)
or received messages (either read or unread, not message delivery
confirm) is (the information written in italics is present depending on
+CSDH last setting):