![GOSUNCN ME3630 Series Command Reference Manual Download Page 49](http://html.mh-extra.com/html/gosuncn/me3630-series/me3630-series_command-reference-manual_2247368049.webp)
All Rights reserved, No Spreading without GOSUNCN Permission
48
AT Command Reference Guide of Module Product
ME3630
If status of the message is 'received unread', status in the storage changes to 'received read'. If reading fails, final result code
+CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for <err> values.
Test command returns the OK result code.
Command
Response
+CMGR=<index>
if text mode (+CMGF=1), command successful and SMS-DELIVER:
<CR><LF>+CMGR: <stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,
<pid>,<dcs>,<sca>,<tosca>,<length>]<data><CR><LF>
<CR><LF>OK<CR><LF>
if text mode (+CMGF=1), command successful and SMS-SUBMIT:
<CR><LF>+CMGR: <stat>,<da>,[<alpha>][,<toda>,<fo>,<pid>,<dcs>,
[<vp>],<sca>,<tosca>,<length>]<data><CR><LF>
<CR><LF>OK<CR><LF>
if text mode (+CMGF=1), command successful and SMS-STATUS-REPORT:
<CR><LF>+CMGR: <stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>, <st><CR><LF>
<CR><LF>OK<CR><LF>
if text mode (+CMGF=1), command successful and SMS-COMMAND:
<CR><LF>+CMGR: <stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>], <length><cdata>]<CR><LF>
<CR><LF>OK<CR><LF>
if text mode (+CMGF=1), command successful and CBM storage:
<CR><LF>+CMGR: <stat>,<sn>,<mid>,<dcs>,<page>,<pages> <data><CR><LF>
<CR><LF>OK<CR><LF>
if PDU mode (+CMGF=0) and command successful:
<CR><LF>+CMGR: <stat>,[<alpha>],<length><pdu><CR><LF>
<CR><LF>OK<CR><LF>
otherwise:
<CR><LF>+CMS ERROR: <err><CR><LF>
+CMGR=?
OK
Parameter
<index>:stored SMS number
<stat>:SMS state
0:“REC UNREAD”: received unread message
1:“REC READ”:received read message
2:“STO UNSENT”: stored unsend message
3:“STO SENT”: stored sent message.
<alpha>: Correspoding name to <da> or <oa> on ternimal device
<stat>:message state in memory unit
<oa>: Source number string of SMS