
Reproduction forbidden without Fibocom Wireless Inc. written authorization – All Rights Reserved.
FIBOCOM L860 AT Commands User Manual
Page 95 of 254
Command
Description
+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><pdu>[<CR><LF>
+CMGL: <index>,<stat>[,<alpha>],<length><CR><LF><pdu>[…]]
Or
+CMS ERROR: <err>
Read
N/A
Test
[Function]
The Test command lists all the supported <stats>
[Syntax]
AT+CMGL=?
[Response/Action]
+CMGL: (list of supported <stat>s)
Parameters
<index> 1-352 Index of message in storage.
<stat>
Status of message in memory:
PDU mode
Text mode
Description
0
“REC UNREAD”
Received unread messages
1
“REC READ”
Received read messages
2
“STO UNSENT”
Stored unsent messages
3
“STO SENT”
Stored sent message
4
“ALL”
All messages
For fault tolerance,Two mode can be trade off
<oa/da> Original/destination address.
<data> Message contents in text mode
<length> In PDU mode: Size of message, in octets, excluding SMSC data. InTEXT
mode: Number of characters included in <data>.
<pdu> Message header and contents in PDU mode format. See description in