Specifications
UC864-E/G AT Commands Reference Guide
80304ST10041a Rev. 3 - 18/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 123 of 259
+CSMS - Select Message Service
OK
Reference 3GPP TS 27.005; 3GPP TS 03.40/23.040; 3GPP TS 03.41/23.041
3.5.5.1.2 Preferred Message Storage - +CPMS
+CPMS - Preferred Message Storage
AT+CPMS=
<memr>
[,<memw>
[,<mems>]]
Set command selects memory storages <memr>, <memw> and <mems>
to be used for reading, writing, sending and storing SMs.
Parameters:
<memr> - memory from which messages are read and deleted
“ME” – SMS memory storage in Flash
“SM” – SMS memory storage in SIM (default)
“SR” – Status Report message storage (in SIM EF-SMSR file exists,
otherwise in the RAM volatile memory)
Note: "SR" non volatile memory is cleared when another SIM card is
inserted. It is kept, even after a reset, while the same SIM card is inserted.
<memw> - memory to which writing and sending operations are made
“SM” – SMS memory storage in SIM (default)
“ME” – SMS memory storage in Flash<mems> - memory to which
received SMs are preferred to be stored
“SM” – SMS memory storage in SIM (default)
“ME” – SMS memory storage in Flash
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
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.