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 134 of 259
+CMGL - List Messages
+CMGL: <index>,<stat>,<alpha>,<length><CR><LF><pdu>
where:
<index> - message position in the memory storage list.
<stat> - status of the message
<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
(Text Mode)
Parameter:
<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>[,<tooa/toda>,
<length>]<CR><LF> <data>
where
<index> - message position in the storage
<stat> - message status
<oa/da> - originator/destination address, string type , represented in the
currently selected character set (see +CSCS)
<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.
<scts> - TP-Service Centre Time Stamp in Time String Format
<tooa/toda> - type of number <oa/da>
129 - number in national format
145 - number in international format (contains the "+")
<length> - text length
<data> - TP-User-Data
• If <dcs> indicates that GSM03.38/23.038 default alphabet is used ,
each character of GSM/WCDMA alphabet will be converted into current
TE character set (see +CSCS)
• If <dcs> indicates that 8-bit or UCS2 data coding scheme is used,
each 8-bit octet will be converted into two IRA character long
hexadecimal number (e.g. octet 0x2A will be converted as two