Data Sheet

Smart Machine Smart Decision
TA sets parameter to denote which input and output format of messages to
use.
OK
AT+CMGF=[<m
ode>]
Parameter
<mode> 0 PDU mode
1 Text mode
Parameter Saving AT&W_ SAV E
Mode
Max Response -
Time
Reference Note
3GPP TS 27.005
4.2.3 AT+CMGL List SMS Messages from Preferred Store
AT+CMGL List SMS Messages from Preferred Store
Response
+CMGL: (list of supported <stat>s)
OK
Test Command
AT+CMGL=?
Parameter
See Write Command
Parameters
1) If text mode:
<stat> "REC UNREAD" Received unread messages
"REC READ" Received read messages
"STO UNSENT" Stored unsent messages
"STO SENT" Stored sent messages
"ALL" All messages
<mode> 0 Normal
1 Not change status of the specified SMS record
2) If PDU mode:
<stat> 0 Received unread messages
1 Received read messages
2 Stored unsent messages
3 Stored sent messages
4 All messages
<mode> 0 Normal
1 Not change status of the specified SMS record
Write Command
AT+CMGL=<sta
t>[,<mode>]
Response
TA returns messages with status value <stat> from message storage
<mem1> to the TE. If status of the message is 'received unread', status in the
storage changes to 'received read'.
SIM800 Series_AT Command Manual_V1.05 113 2014-07-31