HUAWEI MU509 HSDPA LGA Module
AT Command Interface Specification
6.15 +CMGR–Read A Message
6.15.1 Command Syntax
Command
+CMGR=<index>
+CMGR=?
6.15.2 Description
The SET command returns the messages whose storage position is "index" from
<mem1>. If the message state is "Unread message that has been received", the state
of the message in the storage will be converted to "Read message that has been
received" after the command is executed successfully.
The TEST command returns OK.
Issue 04 (2013-01-28)
Possible response(s)
In case of PDU mode and successful execution of command:
<CR><LF>+CMGR:
<stat>,[<reserved>],<length><CR><LF><pdu><CR><LF><C
R><LF>OK<CR><LF>
In case of TEXT mode and successful execution of command:
If text mode (+CMGF=1), command successful and
SMS-DELIVER:
<CR><LF>+CMGR:
<stat>,<oa>,[<alpha>],<scts>[,<toda>,<fo>,<pid>,<dcs>,
<sca>,<tosca>,<length>]<CR><LF><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>]<CR><LF><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>],[<toda>],<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>
<CR><LF><data>]<CR><LF><CR><LF>OK<CR><LF>
Otherwise:
<CR><LF>+CMS ERROR: <err><CR><LF>
<CR><LF>OK<CR><LF>
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Short Message Service Commands
98