User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
9Short Messages Service
Page 84 of 401
Parameter Type Description
9: GSM7
<num_sms> Number Total number of SMS
<part> Number Fragment part number
<reference> Number 3GPP2 reference ID
9.8.4Notes
SARA-R4 / SARA-N4
The command setting is not stored in the personal profile.
The <mode> parameter is mandatory.
<mode> = 3 is not supported.
The +UCMT URC is not supported.
The <ds> parameter can be set to 1 only if <mode>=1.
The <mt> parameter can be set to 2 or 3 only if <mode>=1. If <mode>=2 or 3, then the <mt> parameter
can only be 0 or 1.
The incoming SMS/CBM URC indications will be displayed on all MUX logical channels except for the
channel reserved for GNSS tunneling. As a general rule, the command should be issued by the DTE:
o After start-up
o After using the Z and &F command (which reset the command configuration)
o Whenever the incoming SMS URCs indications are requested on a different AT interface
9.9Read message +CMGR
+CMGR
Modules All products
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full Yes No No <10 s +CMS Error
9.9.1Description
Returns the message with location value <index> from message storage <mem1> to the DTE.
The parameters <tooa>, <fo>, <pid>, <dcs>, <sca>, <tosca>, <length>, <cdata> shall be displayed only if
AT+CSDH=1 is set.
The syntax AT+CMGR=0 allows to display an SMS class 0 if it is signalized to MT, because no MMI is
available in the MT (see also the +CNMI AT command notes).
If the <index> value is out of range (it depends on AT+CPMS command setting) or it refers to an empty
position, then "+CMS ERROR: invalid memory index" error result code is returned.
9.9.2Syntax
Type Syntax Response Example
SMS-DELIVER
+CMGR: <stat>,<oa>,[<alpha>],
<scts>[,<tooa>,<fo>,<pid>,<dcs>,
<sca>,<tosca>,<length>]
<data>
OK
SMS-SUBMIT
+CMGR: <stat>,<da>,[<alpha>][,
<toda>,<fo>,<pid>,<dcs>,[<vp>],
<sca>,<tosca>,<length>]
<data>
OK
Set Text mode (+CMGF=1):
AT+CMGR=<index>
SMS-STATUS-report
+CMGR: <stat>,<fo>,<mr>,[<ra>],
[<tora>],<scts>,<dt>,<st>
AT+CMGR=303
+CMGR: "REC READ",
"+393488535999",,"07/04/05,18:0
2:28+08",145,4,0,0,"+393492000
466",145,93
You have a missed called. Free
information provided by your
operator.
OK