Write Command
AT+CMGR=<index>[,<mode>]
Parameters
SIM5300E AT Command Manual V1.02
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 successful:
for SMS-DELIVER:
+CMGR:
<stat>,<oa>[,<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<leng
th>]
<CR><LF><data>
for SMS-SUBMIT:
+CMGR:
<stat>,<da>[,<alpha>][,<toda>,<fo>,<pid>,<dcs>[,<vp>],<sca>,<tosca>,<leng
th>]
<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><data>
2) If PDU mode (+CMGF=0) and Command successful:
+CMGR: <stat>[,<alpha>],<length><CR><LF><pdu>
OK
3) If error is related to ME functionality:
+CMS ERROR: <err>
<index> Integer type; value in the range of location numbers supported by
the associated memory
<mode>
0
Normal
1
Not change status of the specified SMS record
<alpha>
String type (string should be included in quotation marks)
72
Need help?
Do you have a question about the SIM5300E and is the answer not in the manual?
Questions and answers