EasyManua.ls Logo

Sony Ericsson GM47 - AT+CMGL: List Message Command

Sony Ericsson GM47
310 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
16. SHORT MESSAGE SERVICES - POINT TO POINT
263
LZT 123 7263 R1A
16.13 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.
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>
•OK
•ERROR
Show if the
command is
supported
AT+CMGL=? +CMGL: (list of supported <stat>s)
•OK
•ERROR
<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)
16 Template message. Not supported
<index> Description
Integer type Value in the range of location numbers supported by the
associated memory
<alpha> Description
String type Manufacturing specific. Should be left empty but not
omitted
<length> Description
Integer type Value indicating in PDU mode (+CMGF=0), the length of
the actual TP data unit in octets (i.e. the RP layer SMSC
address octets are not counted in the length)

Table of Contents

Related product manuals