Specifications
Chapter 13 – Short Message Service (SMS) Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 182
13.12 AT+CPMS Preferred SMS Message Storage
Description: The write command selects memory storages <mem1>,<mem2>, <mem3> to be used
for reading, writing, etc.
Test Command Syntax: AT+CPMS=?
Response: +CPMS: (list of supported <mem1>s), (list of supported <mem2>s), (list of supported
<mem3>s)
OK
Read Command Syntax: AT+CPMS?
Response: +CPMS: <mem1>, <used1>, <total1>, <mem2>, <used2>, <total2>, <mem3>, <used3>,
<total3>
OK
ERROR
ERROR
+CMS ERROR
Write Command Syntax: AT+CPMS=<mem1>[, <mem2>[, <mem3>]]
Response: +CPMS: <used1>, <total1>, <used2>, <total2>, <used3>, <total3>
OK
ERROR
ERROR
+CMS ERROR
Parameter Descriptions:
<used1> Number of messages currently in <mem1>
<used2> Number of messages currently in <mem2>
<used3> Number of messages currently in <mem3>
<total1> Number of messages storable in <mem1>
<total2> Number of messages storable in <mem2>
<total3> Number of messages storable in <mem3>
Notes:
• The Mobile Equipment storage “ME” offers space for 25 short messages, see <mem1>.
• “MT” is the sum of “ME” (= 25 locations) and “SM” (capacity varies with SIM card). The indices <index> of the
“MT” storage are dependent on the order selected with AT^SSMSS
• The <mem1>, <mem2> and <mem3> parameter will be stored in non-volatile memory.
• The user should be aware that the setting “MT” involves “ME” and “SM”, with “ME” being filled up first. If the “ME”
storage is full, the Multi-Tech wireless modem will proceed with the “SM” storage.
Incoming Class 1 short messages (ME specific) will be preferably stored to “ME” and may be transferred to the
“SM” storage if “ME” is used up.
Incoming Class 2 messages (SIM specific) will be stored to the SIM card only, no matter whether or not there is
free “ME” space. As a result, the ^SMGO: 2 indication (see AT^SMGO) may be presented without prior indication
of ^SMGO: 1. For more information regarding SIM and ME specific message classes refer to <dcs> and the
following specifications: GSM 03.38 and 3GPP TS23038.
• Multiplexer: In Multiplex mode or when the two physical serial interfaces are connected, the parameter <mem3>
will be the same on all instances, but the setting of <mem1> and <mem2> may vary on each channel / interface.
As a result, changes on parameters <mem1> and/or <mem2> before activating the multiplexer or different values
for other instances can result in undesirable behavior; for example, different output for AT+CMGL.
• While <mem3> equals “SM” and <mem1> equals “ME” it is possible that, after deleting short messages from
“ME”, the freed space on “ME” is reclaimed for new incoming short messages, when there is no space left on the
“SM” storage. As it is often the clients concern to have received short messages stored only to the SIM card,
inconsistent settings should be generally avoided. This can be achieved simply by using the same parameter for
all memory indices.
• Users should be aware that when using this AT command quickly after SIM PIN authentication, the SIM data
may not yet be accessible, resulting in a short delay before the requested AT command response is returned.
See Section 20.1, Restricted Access to SIM Data after SIM PIN Authentication.
• The indexes <index> of the storage are dependent on the order selected with AT^SSMSS.