Specifications

AT Command Set Reference
Ver. 1.00
GSM1308AT001 Page 125 Ver. 1.00 – 10/29/2008
2.2.3.2. AT+CMGL List Messages
Command Function List messages from storage.
Command Functional Short Message Services
Group
Command Format Query AT+CMGL=?
Response +CMGL: (“REC UNREAD”,”REC
READ”,”STO UNSENT”,”STO
SENT”,”ALL”)
OK
Write Format N/A
Response N/A
Read Format N/A
Response N/A
Execution Format AT+CMGL =<stat>
Response +CMGL: <index>, <stat>, <da/oa>,
[<alpha>, <scts>, <tooa/toda>, <length>]
<CR><LF> data
OK
Parameter Values See Notes
<index> Memory location integer
<stat> Status of message
“REC UNREAD”
“REC READ”
“STO UNREAD”
“STO READ”
“ALL”
<da/oa> destination address
<alpha> alphanumeric representation of <da> or
<oa> corresponding to the entry found in
MT phonebook
<scts> Service center time stamp
<tooa/toda> Address Type-of-Address octet in integer
format
<length> Length of message in octets