User Manual
GM47/GM48 INTEGRATOR’S MANUAL
258
LZT 123 7263 R1A
Text Mode
Returns messages with location index <index> from message storage
<mem1> to the TE. About text mode parameters in Italics, refer
command Show Text Mode Parameters (+CSDH), If the status of the
message is ‘received unread’, status in the storage changes to ‘received
read’. If listing fails final result code +CMS ERROR: <err> is returned.
<length> Description
Integer type Value indicating in PDU mode (+CMGF=0), the length of
the actual TP data unit in octets (i.e. the RP layer SMSC
address octets are not counted in the length)
<pdu> Description
InthecaseofSMS:GSM04.11SCaddressfollowedby
GSM 03.40 TPDU in hexadecimal format: ME/TA converts
each octet of TP data unit into two IRA character long
hexadecimal number (e.g. octet with integer value 42 is
presented to TE as two characters 2A (IRA 50 and 65))
In the case of CBS: GSM 03.41 TPDU in hexadecimal format
Description Command Possible Responses
Read
message
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>
•+CMSERROR:<err>
•OK
• ERROR
Show if the
command is
supported
AT+CMGR=? •OK
• ERROR
<index> Description
Integer type Valueintherangeoflocationnumberssupportedby
<mem1>