Chapter 8 – Short Messages Commands
Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C 57
Preferred Message Storage +CPMS
Description: This command allows the message storage area to be selected (for reading, writing, etc).
The total storage area size is: 30 for “MT”, “MO”, “BC” and 10 for “SR”. For RUIM software
loads, these sizes vary and are dependent on the configuration of the SIM card.
Values: <mem1>: Memory area to be used to list, read and delete messages. It can be:
“MT”: SMS Mobile Terminated message storage in NV (default)
“BC”: CBM message storage in NV.
“SR”: Status Report message storage in NV.
<mem2>: Memory used to write and send messages.
MO: Mobile Originated SMS message storage.
In response to a properly entered +CPMS command, the following message indication is
sent:
+CPMS: <used1>,<total>,<used2>,<total> where:
<used1> is the number of used locations for the select area “MT”, “BC”, or “SR” and
<used2> is the number of used locations for the “MO” area. <total> is the total number of
available storage locations (shared by all storage areas).
When <mem1> is selected, all following +CMGL, +CMGR and +CMGD commands are
related to the type of SMS stored in this memory.
Syntax: Command syntax: AT+CPMS=<mem1>,[<mem2>]
Command Possible Responses
AT+CPMS=?
Note: Display available message
storage areas.
+CPMS: (“MT”,”BC”,”SR”),(“MO”)
OK
Note: Read, list, delete: SMS, CBM or SMS Status Report. Write,
send: SMS
AT+CPMS?
Note: Display currently selected area
information.
+CPMS: “MT”,3,30,”MO”,3,30
OK
AT+CPMS=”AM”
Note: Select invalid message storage
area.
+CMS ERROR: 302
AT+CPMS=”BC”
Note: Select CBM message storage
+CPMS: 2,30,3,30
OK
Note: Read, list, delete CBM from NV RAM
Show Text Mode Parameters +CSDH
Description: This command gives additional information on text mode result codes. This information is
given in brackets in the +CMTI, +CMT, +CDS, +CMGR, +CMGL commands.
Syntax: Command syntax: AT+CSDH
Command Possible Responses
AT+CSDH?
Note: Current value
+CSDH: 0
OK
Note: Do not show header values