User guide

Developers guidelines | AT commands
177 June 2010
AT+CPMS Preferred message storage (ver. 4)
<mo> Description
0 Mobile originated messages not supported
1 Mobile originated messages supported
<bm>:
<bm> Description
0 Broadcast messages not supported
1 Broadcast messages supported
Description: Set command selects memory storage <mem1>, <mem2> and <mem3>
to be used for reading, writing, and so on. If chosen storage is not
appropriate for the ME (but is supported by the TA), final result code
+CMS ERROR: <err> is returned.
Set command: AT+CPMS=<mem1>[,<mem2>[,<mem3>]]
Set command
response: +CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3>
Read command: AT+CPMS? Displays the current <mem1>,<used1>,<total1>,
<mem2>,<used2>,<total2>,<mem3>,<used3>,<total3> values.
Test command: AT+CPMS=? Shows if the command is supported.
Test command
response: +CPMS: (list of supported <mem1>s),(list of supported <mem2>s),(list of
supported <mem3>s)
Parameters:
<mem1>:
<mem1> Description
string type Memory from which messages are read and
deleted (see commands List Messages AT+CMGL,
Read Messages AT+CMGR and Delete Messages
AT+CMGD)
“ME” Phone message storage
“SM” SIM message storage
<mem2>:
<mem2> Description
string type Memory to which writing and sending operations
are made (see commands Send Message from
Storage AT+CMSS and Write Message to Memory
AT+CMGW)
“ME” Phone message storage
“SM” SIM message storage
<mem3>: