Preferred message storage +cpms, Syntax, Parameters and values – Synaccess Networks NP-0801DTM User Manual
Page 118: Notes, Examples
3GPP TS 27.005 AT COMMANDS FOR SMS AND CBS
HSPA+ AT Commands Reference Guide
118
Preferred Message Storage +CPMS
Set command selects memory storages <memr>, <memw> and <mems> to be used for reading, writing, sending
and storing SMS messages.
Read command reports the message storage status in the format:
+CPMS: <memr>,<usedr>,<totalr>,<memw>,<usedw>,<totalw>,<mems>,<useds>,<totals>
where <memr>, <memw> and <mems> are the selected storage memories for reading, writing and storing
respectively.
Test command reports the supported values for <memr>, <memw> and <mems>.
Syntax
Command
Command type
AT+CPMS=<memr>[,<memw>[,<mems>]]
AT+CPMS?
Read
AT+CPMS=?
Parameters and Values
<memr>
Memory from which messages are read and deleted.
“
SM
”
SIM SMS memory storage.
<memw>
Memory to which writing and sending operations are made.
“SM”
SIM SMS memory storage.
<mems>
Memory to which received SMs are preferred to be stored.
“SM”
SIM SMS memory storage.
The command returns the memory storage status in the format:
+CPMS: <usedr>,<totalr>,<usedw>,<totalw>,<useds>,<totals>
where:
<usedr> ‐ number of SMs stored into <memr>.
<totalr> ‐ maximum number of SMs that <memr> can contain.
<usedw> ‐ number of SMs stored into <memw>.
<totalw> maximum number of SMs that <memw> can contain.
<useds> ‐ number of SMs stored into <mems>.
<totals> ‐ maximum number of SMs that <mems> can contain.
Notes
The only supported memory storage for reading, writing and sending SMs is the SIM internal memory "SM":
<memr>=<memw>=<mems>="SM".
Reference: GSM 27.005
Examples
AT+CPMS?
+CPMS: "SM",5,10,"SM",5,10,"SM",5,10
OK
5 out of 10 SMS SIM positions occupied.