
GSM/GPRS Module
M35
AT Commands Manual
M35
_AT_Commands_Manual Confidential / Released 88 /
186
+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=?
Response
OK
Write Command
AT+CMGR=<index>[,<mode>]
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: