User's Manual

ST-100M Module
44
+CMGL: <index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
[...]]
if text mode (+CMGF=1), command successful and
SMS-COMMANDs:
+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>[...]]
otherwise:
+CMS ERROR: <err>
+CMGL=? +CMGL: (list of supported <stat>s)
7.12 AT+CMGL(PDU mode) – List Message (Sec 4.1)
7.12.1 Description
Returns messages with status value <stat> from returned message in preferred storage to the TE.
7.12.2 Format
Command Possible response(s)
+CMGL[=<stat>]
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>
[...]]
otherwise:
+CMS ERROR: <err>
+CMGL=? +CMGL: (list of supported <stat>s)
7.13 AT+CMGR(Text mode) – Read Message (Sec 3.4.3)
7.13.1 Description
Returns messages with location value <index> from preferred message storage <mem1> to the TE. If the
status of the message is .received unread., the status in the storage changes to .received read.. If reading
fails, +CMS ERROR is returned.