SARA-R4/N4 series-AT Commands Manual
UBX-17003787 - R09

9Short Messages Service
Page 67 of 307
9.2.2î™–î™–î™–î™–Syntax
Type Syntax Response Example
Set AT+CSMS=<service> +CSMS: <mt>,<mo>,<bm>
OK
AT+CSMS=1
+CSMS: 1,1,1
OK
Read AT+CSMS? +CSMS: <service>,<mt>,<mo>,
<bm>
OK
+CSMS: 0,1,1,1
OK
Test AT+CSMS=? +CSMS: (list of supported
<service>s)
OK
+CSMS: (0-1)
OK
9.2.3î™–î™–î™–î™–Defined values
Parameter Type Description
<service> Number
• 0: see 3GPP TS 23.040 [8] and 3GPP TS 23.041 [9]; syntax of AT commands is
compatible with 3GPP TS 27.005 [16] phase 2; phase 2+ features may be supported
if no new command syntax is required
• 1: see 3GPP TS 23.040 [8] and 3GPP TS 23.041 [9]; syntax of AT commands is
compatible with 3GPP TS 27.005 [16] phase 2+
<mt> Number Mobile terminated messages:
• 0: not supported
• 1: supported
<mo> Number Mobile originated messages:
• 0: not supported
• 1: supported
<bm> Number Broadcast messages:
• 0: not supported
• 1: supported
9.2.4î™–î™–î™–î™–Notes
SARA-R4 / SARA-N4
• Set <service> to 1 to acknowledge an incoming message (either SMS or Status Report) with +CNMA AT
command.
• If <service> is changed from 1 to 0 and one or more parameters of the +CNMI command are in phase 2+,
switch the +CNMI parameters to phase 2 specific values before entering phase 2.
9.3î™–î™–î™–î™–Preferred message storage +CPMS
+CPMS
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
partial Yes NVM No Up to 3 min +CMS Error
9.3.1î™–î™–î™–î™–Description
Selects memory storages <mem1>, <mem2> and <mem3>. If the chosen storage is supported by the MT but
not suitable, the +CMS ERROR: <err> error result code should be returned.
See the test command for the supported memory types for each memory storage.
9.3.2î™–î™–î™–î™–Syntax
Type Syntax Response Example
Set AT+CPMS=<mem1>[,<mem2>[,
<mem3>]]
AT+CPMS: <used1>,<total1>,
<used2>,<total2>,<used3>,<total3>
OK
AT+CPMS="BM","SM","SM"
+CPMS: 0,5,0,50,0,50