AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page74of233
+CSMS - Select Message Service
+CSMS: 1,1,1,1
OK
Reference
3GPP TS 27.005; 3GPP TS 03.40/23.040; 3GPP TS 03.41/23.041
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” – SIM SMS memory storage (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
“ME” – SMS memory storage in Flash
“SM” – SIM SMS memory storage (default)
<mems> - memory to which received SMs are preferred to be stored
“ME” – SMS memory storage in Flash
“SM” – SIM SMS memory storage (default)
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>