User Manual

Table Of Contents
SARA-R4 series-AT commands manual
UBX-17003787 - R16
9Short Messages Service
Page 78 of 401
Type Syntax Response Example
OK
Read AT+CPMS? +CPMS: <mem1>,<used1>,<total1>,
<mem2>,<used2>,<total2>,
<mem3>,<used3>,<total3>
OK
+CPMS: "MT",4,350,"MT",4,350,
"MT",4,350
OK
Test AT+CPMS=? +CPMS: (list of supported
<mem1>s),(list of supported
<mem2>s),(list of supported
<mem3>s)
OK
+CPMS: ("MT","ME","SM","BM",
"SR"),("MT","ME","SM"),("MT","ME",
"SM")
OK
9.3.3Defined values
Parameter Type Description
<mem1> String Memory used to read and delete messages. The supported values may vary:
"ME": ME message storage
"SM": (U)SIM message storage
"MT": "ME"+"SM", "ME" preferred
"BM": Broadcast Message storage
"SR": Status Report storage
The default value is the currently set value. The factory-programmed value depends
on the module series: see Notes for more details.
<mem2> String Memory used to write and send SMS. The supported values may vary:
"ME": ME message storage
"SM": (U)SIM message storage
"MT": "ME"+"SM", "ME" preferred
The default value is the currently set value. The factory-programmed value depends
on the module series: see Notes for more details.
<mem3> String Memory preferred to store the received SMS. The supported values may vary:
"ME": ME message storage
"SM": (U)SIM message storage
"MT": "ME"+"SM", "ME" preferred
The default value is the currently set value. The factory-programmed value depends
on the module series: see Notes for more details.
<used1> Number Number of used message locations in <mem1>
<total1> Number Total number of message locations in <mem1>
<used2> Number Number of used message locations in <mem2>
<total2> Number Total number of message locations in <mem2>
<used3> Number Number of used message locations in <mem3>
<total3> Number Total number of message locations in <mem3>
9.3.4Notes
SARA-R4 / SARA-N4 - the factory-programmed value is "ME", "ME" and "ME".
SARA-R4 / SARA-N4
"MT" message storage is not supported.
9.4Preferred message format +CMGF
+CMGF
Modules All products
Syntax PIN required Settings saved Can be aborted Response time Error referenceAttributes
full Yes Profile No - +CMS Error
9.4.1Description
Indicates to the MT which input and output format of messages shall be used.