iTegno 39XX GPRS Modem
AT Commands Guide
02000C17
•
v1.5
Confidential
All specifications are correct at the time of release. iWOW Connections owns the proprietary rights to the information contained herein this
document. It may not be edited, copied or circulated without prior written agreement by iWOW Connections Pte Ltd. © 2011, 2012 iWOW
Connections Pte Ltd
79
6.15
Read MCMGR
Description:
This command returns message with location value <index> from message storage <mem1> to the TE
Set command returns message with location value <index> from message storage <mem1> to the TE
Test command returns an OK
Syntax:
AT+CMGR=<index>
Command
Possible Responses
TEXT
AT+CMGR=<index>
if text mode (+CMGF=1), command successful and SMS-DELIVER:
+CMGR: <stat>,<oa>,[<alpha>],<scts>[,<tooa>,<fo>,<pid>,<dcs>,
<sca>,<tosca>,<length>]<CR><LF><data>
if text mode (+CMGF=1), command successful and SMS-SUBMIT:
+CMGR: <stat>,<da>,[<alpha>][,<toda>,<fo>,<pid>,<dcs>,[<vp>],
<sca>,<tosca>,<length>]<CR><LF><data>
if text mode (+CMGF=1), command successful and SMS-STATUS-REPORT:
+CMGR: <stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
if text mode (+CMGF=1), command successful and SMS-COMMAND:
+CMGR: <stat>,<fo>,<ct>[,<pid>,[<mn>],[<da>],[<toda>],<length>
<CR><LF><cdata>]
if text mode (+CMGF=1), command successful and CBM storage:
+CMGR: <stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR><LF><data>
otherwise:
+CMS ERROR: <err>
PDU
+CMGR=<index>
if PDU mode (+CMGF=0) and command successful:
+CMGR: <stat>,[<alpha>],<length><CR><LF><pdu>
otherwise:
+CMS ERROR: <err>
AT+CMGR=?
OK
About text mode parameters in italics, refer command Show Text Mode Parameters +CSDH. If status of the
message is ‘received unread’, status in the storage changes to ‘received read’ before display . If reading fails,
final result code +CMS ERROR: <err> is returned. See chapter Message Service Failure Result Code for <err>
values.