GSM/GPRS Module
M35
AT Commands Manual
M35
_AT_Commands_Manual Confidential / Released
86
/
186
Parameter
<index>,<stat>,<sn>,<mid>,<page>,<pages><CR><LF><d
ata>[...]]
OK
2) If PDU mode (
+CMGF=0
) and Command successful:
+CMGL:<index>,<stat>,[<alpha>],<length><CR><LF><pd
u><CR><LF>
+CMGL:
<index>,<stat>,[alpha],<length><CR><LF><pdu>[...]]
OK
3)If error is related to ME functionality:
+CMS ERROR: <err>
Reference
GSM 07.05
<stat>
1) If text mode
"REC UNREAD" Received unread messages
"REC READ" Received read messages
"STO UNSENT" Stored unsent messages
"STO SENT" Stored sent messages
"ALL"
All messages
2) If PDU mode
0
Received unread messages
1
Received read messages
2
Stored unsent messages
3
Stored sent messages
4
All messages
<mode>
0
Normal(default)
1
Not change status of the specified SMS record
<alpha>
String type alphanumeric representation of
<da>
or
<oa>
corresponding to the entry found
in MT phonebook; implementation of this feature is manufacturer specific; used character
set should be the one selected with command select TE character set
+CSCS
(see
definition of this command in TS 07.07)
<da>
GSM 03.40 TP-Destination-Address Address-Value field in string format; BCD numbers (or
GSM default alphabet characters) are converted to characters of the currently selected TE
character set (refer to command
+CSCS
in TS 07.07); type of address given by
<toda>
<data>
In the case of SMS: GSM 03.40 TP-User-Data in text mode responses; format
−
if
<dcs>
indicates that GSM 03.38 default alphabet is used and
<fo>
indicates that
GSM 03.40 TPUser-Data-Header-Indication is not set
−
if TE character set other than "HEX" (refer to Command Select TE character set