User's Manual

13. SHORT MESSAGE SERVICES - POINT TO POINT
203
LZT 123 7361 R1A
13.12 AT+CMGL List Message
PDU Mode
Note! Returns messages with status value <stat> from preferred message
storage <mem1> to the TE. Entire data units <pdu> are returned. If
status of the message is ‘received unread’, status in the storage changes
to ‘received read’. If listing fails, final result code +CMS ERROR:
<err> is returned.
<vp> Description
0 - 143 (TP-VP+1) x 5 minutes (i.e. 5 minute intervals up to 12 hous)
144 - 167 12 hours + ((TP_VP-143) x 30 minutes)
168 - 196 (TP-VP-166) x 1 day
197 - 255 (TP-VP-192) x 1 week
<mn> Description
Integer type GSM 03.40 TP-message-number
Description Command Possible Responses
List message AT+CMGL [=<stat>] •+CMGL:
<index>,<stat>,[<alpha>],<length>
<CR><LF><pdu>[<CR><LF>
+CMGL:
<index>,<stat>,[<alpha>],<length>
<CR><LF><pdu>[…]]
•+CMS ERROR: <err>
Show if the
command is
supported
AT+CMGL=? +CMGL: (list of supported <stat>s)
<stat> Description
0 Received unread message (i.e. new message)
1 Received read message
2 Stored unsent message (only applicable to SMs)
3 Stored sent message (only applicable to SMs)
4 All messages (only applicable to +CMGL command)
<index> Description
Integer type Value in the range of location numbers supported by the
associated memory