User Manual

Table Of Contents
SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R11
9Short Messages Service
Page 81 of 308
9.14Set text mode parameters +CSMP
+CSMP
SARA-R404M SARA-R410M-01B SARA-R410M-02B SARA-R410M-52B SARA-R412MModules
SARA-N4
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full Yes No No < 10 s +CMS Error
9.14.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.14.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
Test AT+CSMP=? OK
9.14.3Defined values
Parameter Type Description
<fo> Number First octet of the SMS TPDU (see 3GPP TS 23.040 [8])
<vp> Number Format depending on the values of the bit3/bit4 of the <fo> (SMS-SUBMIT case):
bit 3 bit 4 Format
0 0 Validity period not present
0 1 Validity period present,
relative format
1 0 Reserved
1 1 Validity period present,
absolute format
Relative format: validity period, counted from when the SMS-SUBMIT is received by
the SMSC, in range 0-255 (the default value is 167); for more details see the 3GPP
TS 23.040 [8]
<vp> Validity period value
0 to 143 (TP-VP + 1) x 5 minutes (i.e. 5 minutes
intervals up to 12 hours)
144 to 167 12 hours + ((TP-VP -143) x 30 minutes)
168 to 196 (TP-VP - 166) x 1 day
197 to 255 (TP-VP - 192) x 1 week
Absolute format: absolute time of the validity period termination in string format
("yy/MM/dd,hh:mm:ss+zz") (see the 3GPP TS 23.040 [8]); the time zone is
expressed in steps of 15 minutes. The range goes from -48 to +56
<pid> Number TP-Protocol-Identifier (default value: 0); see the 3GPP TS 23.040 [8]
<dcs> Number Data Coding Scheme. The default value is 0