Chapter 3: AT Commands Reference
June 30, 2008 AT Commands Reference Manual 3-115
The +MMGL command does not change the message status. In addition, +MMGL includes a <stat> selection that can be used to query the G24 for a list of message headers without attendant message data.
Command Type Syntax Response/Action Remarks
Set +CMGL
[=<stat>]
or
+MMGL
[=<stat>]
If text mode (+CMGF=1) command execution is
successful and SMS-SUBMITs and/or
SMS-DELIVERs:
+CMGL:
<index>,<stat>,<oa/da>,,[<scts>]
[,<tooa/toda>,<length>]<CR><LF><data>[<CR><
LF>
+CMGL:
<index>,<stat>,<da/oa>,,[<scts>]
[,<tooa/toda>,<length>]<CR><LF><data>[...]]
The parameters <tooa/toda>,<length> refer
command shows the Text Mode Parameters +CSDH
and will be shown according to +CSDH settings.
If text mode (+CMGF=1) command execution is
successful and SMS-COMMANDs:
+CMGL:
<index>,<stat>,<fo>,<ct>[<CR><LF>+CMGL:
<index>,<stat>,<fo>,<ct>[...]]
If text mode (+CMGF=1), command execution is
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 text mode (+CMGF=1) command execution is
successful and SMS-STATUS_REPORTs:
+CMGL:
<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<
dt>,<st>[<CR><LF>
+CMGL:
<index>,<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<
dt>,<st>[...]]
In PDU mode (+CMGF=0):
+CMGL:
<index>,<stat>,[<alpha>],<length><CR><LF><pd
u>[<CR><LF>
+CMGL:
<index>,<stat>,[<alpha>],<length><CR><LF>
<pdu>[…]]
Or
+CMS ERROR: <err>
Test +CMGL=?
+MMGL=?
+CMGL: (list of supported <stat>s)
+MMGL: (list of supported <stat>s)
The Test
command
lists all the
supported
<stats>