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
and storing SMS messages.
Read command reports the message storage status in the format:
+CPMS:
where
respectively.
Test command reports the supported values for
Syntax
Command
Command type
AT+CPMS=
AT+CPMS?
Read
AT+CPMS=?
Parameters and Values
Memory from which messages are read and deleted.
“
SM
”
SIM SMS memory storage.
Memory to which writing and sending operations are made.
“SM”
SIM SMS memory storage.
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:
where:
Notes
The only supported memory storage for reading, writing and sending SMs is the SIM internal memory "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.