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 135 of 259
+CMGL - List Messages
characters 0x32 0x41)
Each message delivery confirm is represented in the format:
+CMGL: <index>,<stat>,<fo>,<mr>,,,<scts>,<dt>,<st>
where
<index> - message position in the storage
<stat> - message status
<fo> - first octet of the message PDU
<mr> - message reference number
<scts> - arrival time of the message to the SC
<dt> - sending time of the message
<st> - message status as coded in the PDU
Note: If parameter is omitted the command returns the list of sms with “REC
UNREAD” status
.
AT+CMGL=? Test command returns a list of supported <stat>s
Example
AT+CMGF=1 Set Text mode
OK
AT+CMGL
+CMGL: 1,"REC
UNREAD","+821020955219",,"07/07/26,20:05:11+36"
SMS Test message
+CMGL: 2,"REC
UNREAD","+821020955219",,"07/07/26,20:05:58+36"
SMS Test message...
+CMGL: 3,"REC
UNREAD","+821020955219",,"07/07/26,20:06:37+36"
SMS Test Message..
+CMGL: 4,"REC
UNREAD","+821020955219",,"07/07/26,20:07:43+36"
TEST MESSAGE..
+CMGL: 5,"REC
UNREAD","+821020955219",,"07/07/26,20:09:07+36"
TEST MESSAGE
OK
AT+CMGF=0 Set PDU mode
OK
AT+CMGL=2
+CMGL: 0,2,,24
079128019291903011640A8110567892820000A70CF4F29C0E6A97E7
F3F0B90C
+CMGL: 1,2,,21
079128019291903011640A8110516529700000A709027A794E77B95C
2E