Rainbow Electronics GM862-QUAD-PY User Manual
Page 172

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 172 of 434
+CPMS - Preferred Message Storage
SELINT 2
[,<mems>]]
Parameters:
<memr> - memory from which messages are read and deleted
"SM" - SIM SMS memory storage
"ME" - ME internal storage (read only, no delete)
<memw> - memory to which writing and sending operations are made
"SM" - SIM SMS memory storage
<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.
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)
S
M
O
D
E
=
0
#
S
M
S
M
O
D
E
=
0
#
S
M
S
M
O
D
E
=
0
#
S
M
S
M
Reference GSM
07.05
(#SMSMODE=1)
#
S
AT+CPMS=
<memr>
Set command selects memory storages <memr>, <memw> and
<mems> to be used for reading, writing, sending and storing SMs.