SMS
3-118 AT Commands Reference Manual June 30, 2008
+CMGR, +MMGR, Read Message

These commands handle the reading of SMs. The command displays the message in location

<index> of the preferred message storage <mem1> (selected using the +CPMS command). If the

status of the message is "RECEIVED UNREAD", the +CMGR command changes the status to

"RECEIVED READ". The +MMGR command does not change the message status.

Command
Type Syntax Response/Action Remarks
Set +CMGR=<index>
or
+MMGR=<index
>
If text mode (+CMGF=1) command execution is
successful and SMS-DELIVER:
+CMGR:
<stat>,<oa>,[<alpha>],<scts>
[,<tooa>,<fo>,<pid>,<dcs>,<sca>,<tosca>,<lengt
h>]<CR><LF><data>
If text mode (+CMGF=1) command execution is
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 execution is
successful and SMS-COMMAND:
+CMGR:
<stat>,<fo>,<ct>
[,<pid>,[<mn>],[<da>],[<toda>],<length><CR><
LF><cdata>]
If text mode (+CMGF=1) command execution is
successful and CBM storage:
+CMGR:
<stat>,<sn>,<mid>,<dcs>,<page>,<pages><CR>
<LF><data>
If text mode (+CMGF=1) command execution is
successful and SMS-STATUS-REPORT:
+CMGR:
<stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<s
t>
If PDU mode (+CMGF=0) and command
execution is successful:
+CMGR:
<stat>,[<alpha>],<length><CR><LF><pdu>
otherwise:
+CMS ERROR: <err>
The Set command
reads the SM
located at
<index> in the
G24 message
storage and
displays it