At+Cmgl List Sms Messages From Preferred Store - Quectel M35 Command Manual

Gsm/gprs module series
Hide thumbs Also See for M35:
Table of Contents

Advertisement

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

8.6. AT+CMGL List SMS Messages from Preferred Store

AT+CMGL List SMS Messages from Preferred Store
Test Command
AT+CMGL=?
Write Command
AT+CMGL=<stat>[,<mode>]
M35_AT_Commands_Manual
// Delete message specified in <index>=1
// Delete all messages from <mem1> storage
Response
+CMGL: (list of supported <stat>s)
OK
Response
TA returns messages with status value <stat> from message
storage <mem1> to the TE. If status of the message is
'received unread', status in the storage changes to 'received
read'.
1) 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><data>[<CR><LF>
+CMGL:
Confidential / Released
GSM/GPRS Module
M35 AT Commands Manual
85 / 186

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents