Chapter 8 – Short Messages Commands

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=?

+CPMS: (“MT”,”BC”,”SR”),(“MO”)

 

Note: Display available message

OK

 

storage areas.

Note: Read, list, delete: SMS, CBM or SMS Status Report. Write,

 

 

send: SMS

 

AT+CPMS?

+CPMS: “MT”,3,30,”MO”,3,30

 

Note: Display currently selected area

OK

 

information.

 

 

AT+CPMS=”AM”

+CMS ERROR: 302

 

Note: Select invalid message storage

 

 

area.

 

 

AT+CPMS=”BC”

+CPMS: 2,30,3,30

 

Note: Select CBM message storage

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?

+CSDH: 0

Note: Current value

OK

 

Note: Do not show header values

Multi-Tech Systems, Inc. CDMA Wireless AT Commands - PN S000294C

57

Page 57
Image 57
Multi-Tech Systems CDMA Wireless Modem manual Preferred Message Storage +CPMS, Show Text Mode Parameters +CSDH