nrf9160

Set command

The set command sets the used memory.

Note: The modem does not support SMS memory, only direct routing to Terminal Equipment (TE).

Syntax:

+CPMS=<mem1>[,<mem2>[,<mem3>]]

Response syntax:

+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3>
+CMS ERROR code
303 – Not supported.

The set command parameters and their defined values are the following:

<mem1>
"MT" – Refers to all message storage areas associated with the modem
<mem2>
"MT" – Refers to all message storage areas associated with the modem
<mem3>
"MT" – Refers to all message storage areas associated with the modem
<usedx>
Integer. The number of messages currently in <memx>.
<totalx>
Integer. The number of messages currently in <memx>.

The following command example configures the used memory storages:

AT+CPMS="MT","MT","MT"
+CPMS: 0,0,0,0,0,0
OK