Specifications
UC864-E/G AT Commands Reference Guide
80304ST10041a Rev. 3 - 18/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 136 of 259
+CMGL - List Messages
+CMGL: 26,2,,17
08812801009901025911640A8110567892820014A704C7D1B1DB
OK
Reference 3GPP TS 27.005
3.5.5.3.3 Read Message - +CMGR
+CMGR - Read Message
AT+CMGR=
<index>
Execution command reports the message with location value <index> from
<memr> message storage (<memr> is the message storage for read and
delete SMs as last settings of command +CPMS).
Parameter:
<index> - message index.
The output depends on the last settings of command +CMGF (message
format to be used)
(PDU Mode)
The output has the following format:
+CMGR: <stat>,<alpha>,<length><CR><LF><pdu>
where
<stat> - status of the message
0 - new message
1 - read message
2 - stored message not yet sent
3 - stored message already sent
<alpha> - string type alphanumeric representation of <da> or <oa>,
corresponding to an entry found in the phonebook; used
character set is the one selected with command +CSCS.
<length> - length of the PDU in bytes.
<pdu> - message in PDU format according to 3GPP TS 3.40/23.040.
The status of the message and entire message data unit <pdu> is
returned.
(Text Mode)
Output format for received messages (the information written in italics will
be present depending on +CSDH last setting):
+CMGR: <stat>,<oa>,<alpha>,<scts>[,<tooa>,<fo>,<pid>,
<dcs>,<sca>,<tosca>,<length>]<CR><LF><data>
Output format for sent messages:
+CMGR: <stat>,<da>,<alpha>[,<toda>,<fo>,<pid>,<dcs>,,