Specifications
3GPPTS27.005ATCOMMANDSFORSMSANDCBS
HSPA+ATCommandsReferenceGuide 118
PreferredMessageStorage+CPMS
Setcommandselectsmemorystorages<memr>,<memw>and<mems>tobeusedforreading,writing,sending
andstoringSMSmessages.
Readcommandreportsthemessagestoragestatusintheformat:
+CPMS: <memr>,<usedr>,<totalr>,<memw>,<usedw>,<totalw>,<mems>,<useds>,<totals>
where<memr>,<memw>and<mems>aretheselectedstoragememoriesforreading,writingandstoring
respectively.
Testcommandreportsthesupportedvaluesfor<memr>,<memw>and<mems>.
Syntax
Command Commandtype
AT+CPMS=<memr>[,<memw>[,<mems>]]
AT+CPMS? Read
AT+CPMS=?
ParametersandValues
<memr>
Memoryfromwhichmessagesarereadanddeleted.
“SM” SIMSMSmemorystorage.
<memw> Memorytowhichwritingandsendingoperationsaremade.
“SM” SIMSMSmemorystorage.
<mems> MemorytowhichreceivedSMsarepreferredtobestored.
“SM” SIMSMSmemorystorage.
Thecommandreturnsthememorystoragest
atusintheformat:
+CPMS:<usedr>,<totalr>,<usedw>,<totalw>,<useds>,<totals>
where:
<usedr>‐numberofSMsstoredinto<memr>.
<totalr>‐maximumnumberofSMsthat<memr>cancontain.
<usedw>‐numberofSMsstoredinto<memw>.
<totalw>maximumnumberofSMsthat<memw>cancontain.
<useds>‐numberofSMsstoredinto<mems>.
<totals>‐maximumnumberofSM
sthat<mems>cancontain.
Notes
Theonlysupportedmemorystorageforreading,writingandsendingSMsistheSIMinternalmemory"SM":
<memr>=<memw>=<mems>="SM".
Reference:GSM27.005
Examples
AT+CPMS?
+CPMS: "SM",5,10,"SM",5,10,"SM",5,10
OK
5outof10SMSSIMpositionsoccupied.