User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
9Short Messages Service
Page 92 of 401
Parameter Type Description
<PDU> String Protocol Data Unit: each 8-bit octet of the PDU must be written as two IRA character
long hexadecimal numbers, e.g. an octet with integer value 42 must be written as two
characters 2A (IRA 50 and 65)
9.14Send message from storage +CMSS
+CMSS
Modules All products
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full Yes No No Up to 3 min +CMS Error
9.14.1Description
Sends message with location value <index> from the preferred message storage <mem2> to the network
(SMS-SUBMIT or SMS-COMMAND). If a new recipient address <da> is given for SMS-SUBMIT, it will be used
instead of the one stored with the message. Reference value <mr> is returned to the DTE on successful
message delivery.
9.14.2Syntax
Type Syntax Response Example
Text mode (+CMGF=1):
AT+CMSS=<index>[,<da>[,<toda>]]
+CMSS: <mr>
OK
AT+CMSS=302
+CMSS: 3
OK
Set
PDU mode (+CMGF=0):
AT+CMSS=<index>
+CMSS: <mr>
OK
AT+CMSS=302
+CMSS: 4
OK
Test AT+CMSS=? OK
9.14.3Defined values
Parameter Type Description
<index> Number Storage position
<da> String Destination address
<toda> Number Type of address of <da> - octet
<mr> Number Message reference
9.15Set text mode parameters +CSMP
+CSMP
Modules All products
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full Yes +CSAS No < 10 s +CMS Error
9.15.1Description
Selects values for additional parameters needed when an SMS is sent to the network or placed in a storage
when text format message mode is selected. For more details see the 3GPP TS 23.038 [7] and the 3GPP TS
23.040 [8].
9.15.2Syntax
Type Syntax Response Example
Set AT+CSMP=<fo>,<vp>[,<pid>[,
<dcs>]]
OK AT+CSMP=17,167,0,0
OK
Read AT+CSMP? +CSMP: <fo>,<vp>,<pid>,<dcs>
OK
+CSMP: 17,167,0,0
OK