Rainbow Electronics GM862-QUAD-PY User Manual
Page 171

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 171 of 434
+CPMS - Preferred Message Storage
SELINT 0 / 1
<mems> - memory to which received SMs are preferred to be stored
"SM" - SIM SMS memory storage
The command returns the memory storage status in the format:
+CPMS: <usedr>,<totalr>,<usedw>,<totalw>,<useds>,<totals>
where
<usedr> - number of SMs stored into <memr>
<totalr> - max number of SMs that <memr> can contain
<usedw> - number of SMs stored into <memw>
<totalw> max number of SMs that <memw> can contain
<useds> - number of SMs stored into <mems>
<totals> - max number of SMS that <mems> can contain
Note: The only supported memory storage for writing and sending SMs is
the SIM internal memory "SM", so <memw>=<mems>="SM".
Note: the received class 0 SMS are stored in the "ME" memory regardless
the <mems> setting and they are automatically deleted at power off.
Note: If all parameters are omitted the behavior of Set command is the
same as Read command.
AT+CPMS?
Read command reports the message storage status in the format:
+CPMS: <memr>,<usedr>,<totalr>,<memw>,<usedw>,<totalw>,
<mems>,<useds>,<totals>
where <memr>, <memw> and <mems> are the selected storage memories
for reading, writing and storing respectively.
AT+CPMS=?
Test command reports the supported values for parameters <memr>,
<memw> and <mems>
Example
AT+CPMS?
+CPMS: "SM",5,10,"SM",5,10,"SM",5,10
OK
you have 5 out of 10 SMS SIM positions occupied
Reference GSM
07.05
+CPMS - Preferred Message Storage
SELINT 2
Note: the behaviour of command +CPMS differs depending on whether or not the improved SMS
commands operation mode has been enabled (see #SMSMODE)
(#SMSMODE=0)
#
S
M
AT+CPMS=
<memr>
[,<memw>
Set command selects memory storages <memr>, <memw> and
<mems> to be used for reading, writing, sending and storing SMs.