At+Cmgl List Messages - Quectel EC25 Command Manual

Lte module series, at commands
Hide thumbs Also See for EC25:
Table of Contents

Advertisement

Example
AT+CMGD=1
OK
AT+CMGD=1,4
OK

9.6. AT+CMGL List Messages

The Read Command returns messages with status value <stat> from preferred message storage
<mem1> to the TE. If the status of the message is "REC UNREAD", the status in the storage changes to
"REC READ". When executing command AT+CMGL without status value <stat>, it will report the list of
SMS with "REC UNREAD" status.
AT+CMGL List Messages
Test Command
AT+CMGL=?
Write Command
AT+CMGL[=<stat>]
EC25&EC21_AT_Commands_Manual
//Delete the message specified in <index>=1
//Delete all messages from <mem1> storage
Response
+CMGL: (list of supported <stat>s)
OK
Response
If in text mode (AT+CMGF=1) and the command is executed
successfully:
For SMS-SUBMITs and/or SMS-DELIVERs:
+CMGL:
<index>,<stat>,<oa/da>,[<alpha>],[<scts>][,<tooa/toda>,<
length>]<CR><LF><data>[<CR><LF>
+CMGL:
<index>,<stat>,<da/oa>,[<alpha>],[<scts>][,<tooa/toda>,<
length>]<CR><LF><data>[...]]
For 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
>[...]]
For SMS-COMMANDs:
+CMGL: <index>,<stat>,<fo>,<ct>[<CR><LF>
+CMGL: <index>,<stat>,<fo>,<ct>[...]]
LTE Module Series
EC25&EC21 AT Commands Manual
122 / 231

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ec21

Table of Contents