Neo_WM620 WCDMA Module AT Command Set
Copyright © Neoway Technology Co., Ltd
39
+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>
+CMGL: <index>,<stat>,<fo>,<ct>[...]]
if text mode (+CMGF=1), 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> [...]]
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>[...]]
Example
AT+CMGL="ALL"
+CMGL: 1,"REC READ","66421",,"11/09/14,16:37:59+32"
050003140401E27778592EA7E7EBE9373C3C279BCF68F5
9AADC78FED62779BA596D7EBAEB5B91EBD16A5D46C
35F98406A744E311A95C32594DA75688B50EADACA6D6
89150EADF1B2BC5E579AD575E5B5582D5EABD5624C36
A3D56C375C0E1693CD6835DB0D9783A15C91D2E06BD
AA558AC1F60C52B937CADCD2B747AA9021BDEC627E8
E9441BD42655DEF446
+CMGL: 44,"REC
UNREAD","8615719556937",,"11/09/30,03:00:55+32"5E7F4
E1C79FB52A863D0919260A8003A4E2D536B75286237003
100350037003100390035003500360039003300377ED960A8
6765753500326B21002C6700540E4E006B21572800320039
002F00300039002000320030003A00340038002C60A853EF
6309901A8BDD952E621690099879952E76F463A556DE62
E8
+CMGL: 14,"STO
SENT","66045",,050003010401E27778592EA7E7EBE9373C
3C279BCF68F59AADC78FED62779BA596D7EBAEB5B91
EBD16A5D46C35F98406A744E311A95C32594DA75688B5
0EADACA6D689150EADF1B2BC5E579AD575E5B5582D5
EABD5624C36A3D56C375C0E1693CD6835DB0D9783A15
C91D2E06BDAA558AC1F60C52B937CADCD2B747AA90
21BDEC627E8E9441BD42655DEF446
OK
Read all messages.
AT+CMGL=?
+CMGL: ("REC UNREAD", "REC READ", "STO
UNSENT", "STO SENT", "ALL")
OK
Query the SMS read
options.
Query the SMS read