At+Cmgl List Messages - Quectel UG Series Command Manual

Wcdma at commands
Table of Contents

Advertisement

AT+CMGD=1,4
OK

9.6. AT+CMGL List Messages

AT+CMGL write 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>
WCDMA_UGxx_AT_Commands_Manual
WCDMA UGxx AT Commands Manual
//Delete all messages from <mem1> storage
Response
+CMGL: (list of supported <stat>s)
OK
Response
If text mode (+CMGF=1) and command successful:
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>[...]]
For CBM storage:
+CMGL:
<index>,<stat>,<sn>,<mid>,<page>,<pages><CR><LF><d
ata>[<CR><LF>
+CMGL:
Confidential / Released
UMTS/HSPA Module Series
119 / 247

Advertisement

Table of Contents
loading

Table of Contents