At+Cmgr Read Sms Message - Quectel M35 Command Manual

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

Advertisement

+CMGL: 1,"STO UNSENT","","",
This is a test from Quectel
+CMGL: 2,"STO UNSENT","","",
This is a test from Quectel,once again.
OK

8.7. AT+CMGR Read SMS Message

AT+CMGR Read SMS Message
Test Command
AT+CMGR=?
Write Command
AT+CMGR=<index>[,<mode>]
M35_AT_Commands_Manual
Response
OK
Response
TA returns SMS message with location value <index> 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 is executed
successfully:
for SMS-DELIVER:
+CMGR:
<stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,<
sca>,<tosca>,<length>]<CR><LF><data>
for SMS-SUBMIT:
+CMGR:
<stat>,<da>,[<alpha>][,<toda>,<fo>,<pid>,<dcs>,[<vp>],<
sca>,<tosca>,<length>]<CR><LF><data>
for SMS-STATUS-REPORTs:
+CMGR:
<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
for SMS-COMMANDs:
+CMGR:
<stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],<length><
CR><LF><cdata>]
for CBM storage:
+CMGR:
<stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><dat
a>
2) If PDU mode (+CMGF=0) and command successful:
Confidential / Released
GSM/GPRS Module
M35 AT Commands Manual
88 / 186

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents