UC864
UC864
UC864
UC864----E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6 ---- 2010
2010
2010
2010----0
00
05
55
5----20
20
20
20
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved.
Page 159 of 329
3.5.5.3.2.
List Messages
List Messages
List Messages
List Messages ---- +CMGL
+CMGL
+CMGL
+CMGL
+CMGL
+CMGL
+CMGL
+CMGL ---- List Messages
List Messages
List Messages
List Messages
AT+CMGL
AT+CMGL
AT+CMGL
AT+CMGL
[=<stat>]
[=<stat>]
[=<stat>]
[=<stat>]
Execution command reports the list of all the messages with status value
<stat>
<stat>
<stat>
<stat> stored into <m
<m
<m
<memr>
emr>
emr>
emr> message storage (<memr>
<memr>
<memr>
<memr> is the message
storage for read and delete SMs as last settings of cCPMS).
The parameter type and the command output depend on the last settings of
cCMGF
+CMGF
+CMGF
+CMGF (message format to be used)
(PDU Mode)
(PDU Mode)
(PDU Mode)
(PDU Mode)
Parameter:
<stat
<stat
<stat
<stat>
>>
>
0 - new message
1 - read message
2 - stored message not yet sent
3 - stored message already sent
4 - all messages.
Each message to be listed is represented in the format:
+CMGL: <index>,<stat>,<alpha>,<length><CR><LF><pdu>
+CMGL: <index>,<stat>,<alpha>,<length><CR><LF><pdu>
+CMGL: <index>,<stat>,<alpha>,<length><CR><LF><pdu>
+CMGL: <index>,<stat>,<alpha>,<length><CR><LF><pdu>
where:
<index>
<index>
<index>
<index> - message position in the memory storage list.
<stat>
<stat>
<stat>
<stat> - status of the message
<alpha>
<alpha>
<alpha>
<alpha> - string type alphanumeric representation of <da>
<da>
<da>
<da> or <oa>
<oa>
<oa>
<oa>,
corresponding to an entry found in the phonebook; used
character set is the one selected with cCSCS.
<leng
<leng
<leng
<length>
th>
th>
th> - length of the PDU in bytes
<pdu>
<pdu>
<pdu>
<pdu> - message in PDU format according to 3GPP TS 3.40/23.040
(Text Mode)
(Text Mode)
(Text Mode)
(Text Mode)
Parameter:
<stat>
<stat>
<stat>
<stat>
"REC UNREAD" - new message
"REC READ" - read message
"STO UNSENT" - stored message not yet sent
"STO SENT" - stored message already sent
"ALL" - all messages.
Each message to be listed is represented in the format (the information
written in italics will be present depending on +CSDH last setting):
+CMGL: <index>,<stat>,<oa/da>,<alpha>,<scts>
+CMGL: <index>,<stat>,<oa/da>,<alpha>,<scts>
+CMGL: <index>,<stat>,<oa/da>,<alpha>,<scts>
+CMGL: <index>,<stat>,<oa/da>,<alpha>,<scts>
[,<tooa/toda>,
[,<tooa/toda>,
[,<tooa/toda>,
[,<tooa/toda>,