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 [
] and 3GPP TS 23.041 [
]; syntax of AT commands is
compatible with 3GPP TS 27.005 [
] phase 2; phase 2+ features may be supported
if no new command syntax is required
•
1: see 3GPP TS 23.040 [
] and 3GPP TS 23.041 [
]; syntax of AT commands is
compatible with 3GPP TS 27.005 [
<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
AT
command.
• If <service> is changed from 1 to 0 and one or more parameters of the
command are in phase 2+,
switch the
parameters to phase 2 specific values before entering phase 2.
9.3 Preferred message sCPMS
+CPMS
SARA-R404M SARA-R410M-01B SARA-R410M-02B SARA-R410M-52B SARA-R412M
Modules
SARA-N4
Syntax
PIN required
Settings saved Can be aborted
Response time Error reference
Attributes
partial
Yes
No
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