Reproduction forbidden without Fibocom Wireless Inc. written authorization – All Rights Reserved.
FIBOCOM L860 AT Commands User Manual
Page 94 of 254
Command
Description
+CMGS: 187
OK
+CDS: 6,187,"+97252468000",145,"05/08/03,08: 56: 34+08","05/08/03,08: 56:
34+08",70
AT+CNMA
OK
6.1.14 +CMGL, List Messages
These commands display a list of all SMS with the status value <stat>, from the Modem message storage
<mem1> (selected using the +CPMS command). The command returns a series of responses, one per
message, each item containing the message index, status, and data. If the status of a message is
"RECEIVED UNREAD", execution of the +CMGL command changes the status of the message to
"RECEIVED READ".
Command
Description
Set
[Function]
This command display a list of all SMS with the status value <stat>.
[Syntax]
AT+CMGL[=<stat>]
[Response/Action]
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
ParaCSDH 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>