SIM5300E AT Command Manual V1.02
OK
Write Command
AT+CMGF=[<mode>]
Response
TA sets parameter to denote which input and output format of messages to
use.
OK
Parameters <mode>
0 PDU mode
1 Text mode
Reference
3GPP TS 27.005
4.2.3 AT+CMGL List SMS Messages from Preferred Store
AT+CMGL List SMS Messages from Preferred Store
Test Command
AT+CMGL=?
Response
+CMGL: (list of supported <stat>s)
OK
Write Command
AT+CMGL=<stat>[,<mode>]
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 (default)
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>