EasyManua.ls Logo

Siemens TC37 Module - AT+CMGR Read SMS Message

Siemens TC37 Module
204 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AT Command Set
TC3X_ATC_01_V04.00 Page 125 of 204 29.05.2002
5.5 AT+CMGR Read SMS message
Test command
AT+CMGR=?
Response
OK
Execute command
AT+CMGR=
<index>
Parameter
<index> integer type; value in the range of location numbers supported by the
associated memory
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>,<length>]<CR><LF><data>
for SMS-SUBMIT:
+CMGR: <stat>,<da>,[<alpha>] [,<toda>,<fo>,<pid>,<dcs>,[<vp>],
<sca>,<tosca>,<length>]<CR><LF><data>
for SMS-STATUS-REPORT:
+CMGR: <stat>,<fo>,<mr>,[<ra>],[<tora>],<scts>,<dt>,<st>
for SMS- COMMAND:
+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
for CBM storage:
+CMGR: <length><CR><LF><pdu>
3)If error is related to ME functionality:
+CMS ERROR: <err>
Parameter
<alpha> string type alphanumeric representation of <da> or <oa> corresponding
to the entry found in phonebook; implementation of this feature is manu-
facturer specific
<stat> integer type in PDU mode (default 0), or string type in text mode (default
“REC UNREAD”); indicates the status of message in memory: defined
values:

Table of Contents