WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
58
2) command successful and CBM storage:
+CMGL: <index>,<stat>,<sn>,<mid>,<page>,<pages>
<CR><LF><data>[<CR><LF>
+CMGL: <index>,<stat>,<sn>,<mid>,<page>,<pages>
<CR><LF><data> [...]]
stat:
“REC UNREAD” Received but unread
“REC READ” Received and read
“STO UNSENT” Stored but unsent
“STO SENT” Stored and sent
if PDU mode (+CMGF=0) and command successful:
+CMGL: <index>,<stat>,[<alpha>],<length><CR><LF><pdu>
[<CR><LF>
+CMGL: <index>,<stat>,[<alpha>],<length><CR><LF><pdu>[...]]
stat:
0 Received but unread
1 Received and read
2 Stored but unsent
3 Stored and sent
alpha: digits in alpha format
length: number of octets in specified TP data, excluding the octets in the service
center address
pdu: PDU data
Example
AT+CMGL="ALL"
+CMGL:
1,"REC
READ","66421",,"11/09/14,16:37:59+32"
050003140401E27778592EA7E7EBE9373C3C279BC
F68F59AADC78FED62779BA596D7EBAEB5B91EBD
16A5D46C35F98406A744E311A95C32594DA75688B
50EADACA6D689150EADF1B2BC5E579AD575E5B5
582D5EABD5624C36A3D56C375C0E1693CD6835DB
0D9783A15C91D2E06BDAA558AC1F60C52B937CAD
CD2B747AA9021BDEC627E8E9441BD42655DEF446
+CMGL:
44,"REC
UNREAD","8615719556937",,"11/09/30,03:00:55+32"5
Read all messages in
text mode.