UC864
UC864
UC864
UC864----E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6 ---- 2010
2010
2010
2010----0
00
05
55
5----20
20
20
20
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved.
Page 160 of 329
+CMGL
+CMGL
+CMGL
+CMGL ---- List Messages
List Messages
List Messages
List Messages
<length>]
<length>]
<length>]
<length>]
<CR
<CR
<CR
<CR><LF>
><LF>
><LF>
><LF> <data>
<data>
<data>
<data>
where
<index>
<index>
<index>
<index> - message position in the storage
<stat>
<stat>
<stat>
<stat> - message status
<oa/da>
<oa/da>
<oa/da>
<oa/da> - originator/destination address, string type , represented in the
currently selected character set (see +CSCS)
<alpha>
<alpha>
<alpha>
<alpha> - string type alphanumeric representation of <da>
<da>
<da>
<da> or <oa>
<oa>
<oa>
<oa>,
corresponding to an entry found in the phonebook; used
character set is the one selected with cCSCS.
<scts>
<scts>
<scts>
<scts> - TP-Service Centre Time Stamp in Time String Format
<tooa/toda>
<tooa/toda>
<tooa/toda>
<tooa/toda>
- type of number <oa/da>
<oa/da>
<oa/da>
<oa/da>
129 - number in national format
145 - number in international format (contains the "+
++
+")
<length>
<length>
<length>
<length>
- text length
<data>
<data>
<data>
<data> - TP-User-Data
•
If <dcs>
<dcs>
<dcs>
<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>
<dcs>
<dcs>
<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
characters 0x32 0x41)
Each message delivery confirm is represented in the format::::
+CMGL: <index>,<stat>,<fo>,<mr>,,,<scts>,<dt>,<st>
+CMGL: <index>,<stat>,<fo>,<mr>,,,<scts>,<dt>,<st>
+CMGL: <index>,<stat>,<fo>,<mr>,,,<scts>,<dt>,<st>
+CMGL: <index>,<stat>,<fo>,<mr>,,,<scts>,<dt>,<st>
where
<index>
<index>
<index>
<index> - message position in the storage
<stat>
<stat>
<stat>
<stat> - message status
<fo>
<fo>
<fo>
<fo> - first octet of the message PDU
<mr>
<mr>
<mr>
<mr> - message reference number
<scts>
<scts>
<scts>
<scts> - arrival time of the message to the SC
<dt>
<dt>
<dt>
<dt> - sending time of the message
<st>
<st>
<st>
<st> - message status as coded in the PDU
Note: If parameter is omitted the command returns the list of sms with
“REC UNREAD
REC UNREAD
REC UNREAD
REC UNREAD” status
.
AT+CMGL=?
AT+CMGL=?
AT+CMGL=?
AT+CMGL=?
Test command returns a list of supported <stat>
<stat>
<stat>
<stat>s
Example
AT+CMGF=1
Set Text mode
OK
AT+CMGL
+CMGL: 1,"REC UNREAD","+821020955219",,"07/07/26,20:05:11+36"