
UMTS/HSPA Module Series
WCDMA UGxx AT Commands Manual
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 119 / 247
AT+CMGD=1,4
//Delete all messages from
<mem1>
storage
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=?
Response
+CMGL:
(list of supported
<stat>
s)
OK
Write Command
AT+CMGL=<stat>
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:
Quectel
Confidential