
Chapter 7 – Short Messages Commands
Multi-Tech Systems, Inc. CDMA Wireless AT Commands (PN S000294J)
41
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.
Each reported memory area includes information about the current used and total storage locations.
<used>
the number of used storage locations in the reported area.
<total>
the total number of available storage locations.
When <mem1> is selected, all folCMGL, +CMGR and +CMGD commands are related to the type of
SMS stored in this memory.
Syntax:
Command syntax:
AT+CPMS=<mem1>,<used>,<total>,[<mem2>,<used>,<total>]
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. This setting currently cannot be changed.
Syntax:
Command syntax:
AT+CSDH
Command
Possible Responses
AT+CSDH?
Note: Current value
+CSDH: 0
OK
Note: Do not show header values