AT Commands Phone Terminal Terminated 94
AT+CPMS Preferred Message Storage
Parameters:
<service>:
<service> Description
0 GSM 03.40 and 03.41 specific. The syntax of SMS AT
commands is compatible with GSM 07.05 Phase 2 Version
4.7.0. Phase 2 features that do not require new command
syntax may be supported
Default setting
2-127 Reserved
<mt>:
<mt> Description
0 Mobile terminated messages not supported
1 Mobile terminated messages supported
<mo>:
<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: Selects memory storage spaces to be used for reading, writing, etc. If chosen storage is
not appropriate for the ME (but is supported by the TA), +CME ERROR is returned.
Set command: AT+CPMS=<mem1>[,<mem2>][,<mem2>]
Set command response:+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3>
Read command: AT+CPMS?
Read command
response.
+CPMS: <mem1><used1>,<total1>,<mem2><used2>,<total2>,
<mem3><used3>,<total3>
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>: Memory from which messages are read and deleted (see AT+CMGL, AT+CMGR, and
AT+CMGD).
<mem1> Description
“ME” ME message storage
“SM” SIM message storage
“TL” Template message storage