User's Manual
Table Of Contents

Page 136 of 187
TECHNICAL MANUAL
Telit GM862 PCS
Tri Band GPRS Data Terminal System Rev.1
+CNMI – new message indications to terminal equipment
Reference GSM 07.05
SW release Version A
2.6.3.2 +CMGL - list messages
+CMGL – list messages
Execute command
Read command
Write command
AT+CMGL = <stat>
Reports the list of all the messages stored into <memr> (see
command +CPMS ) memory storage having the status equal to <stat>
parameter.
Parameter (PDU Mode):
<stat>
0 - new message
1 - read message
2 - stored message not yet sent
3 - store message already sent
4 - all messages (applies only to +CMGL command)
A report is sent for each message that has to be listed in the format:
+CMGL: <index>,<stat>,<length><CR><LF><pdu>
where
<index> - message position in the memory storage list.
<stat> - status of the message
<length> - length of the PDU in bytes
<pdu> - message in PDU format according to GSM 3.40
Note: OK message is sent only at the end of the listing.
Parameter (Text Mode):
<stat>
"REC UNREAD" - new message
"REC READ" - read message
"STO UNSENT" - stored message not yet sent
"STO SENT" - store message already sent
"ALL" - all messages (applies only to +CMGL command)
A report is sent for each message that has to be listed in the format:
+CMGL:
<index>,<stat>,<oa/da>[,,,<tooa/toda>,<length>]<CR><LF><text>
where
<index> - message position in the storage
<stat> - message status