M10 AT Commands Set
M10_ATC_V1.01 - 87 -
4.2.2 AT+CMGF Select SMS Message Format
AT+CMGF Select SMS Message Format
Response
+CMGF: <mode>
OK
Read Command
AT+CMGF?
Parameter
see Write Command
Test Command
AT+CMGF=?
Response
+CMGF: (list of supported <mode>s)
OK
Response
TA sets parameter to deNote which input and output format of messages to
use.
OK
Write Command
AT+CMGF=[<m
ode>]
Parameter
<mode>
0 PDU mode
1 text mode
Reference
GSM 07.05
Note
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=?
Parameters
see Write Command
Write Command
AT+CMGL=<sta
t>[,<mode>]
Parameters
1) If text mode:
<stat>
"REC UNREAD" Received unread messages (default)
"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 (default)
1 Received read messages
2 Stored unsent messages