HE863 family AT commands reference guide
80377ST10083a Rev.6 – 2012-11-12
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved.
Page 107 of
229
3.5.4.1.2.
Preferred Message Storage - +CPMS
+CPMS - Preferred Message Storage
AT+CPMS=
<mem1>[,<mem2>
[,<mem3>]]
Set command selects memory storages
<mem1>
,
<mem2>
and
<mem3>
to be
used for reading, writing, etc.
If chosen storage is not appropriate for the ME (but is supported by the TA), final
result code +CMS ERROR:
<err>
shall be returned. See chapter Message Service Failure Result Code for a list
of possible
<err>
values.
Parameters:
<mem1>
- memory from which messages are read and deleted
“BM” – Broadcast message storage
“ME” – SMS memory storage
“SM” – (U)SIM SMS memory storage
“SR” – Status Report message storage
<mem2>
- memory to which writing and sending operations are made
“SM” – SIM SMS memory storage
“ME” – SMS memory storage
<mem3>
- memory to which received SMs are preferred to be stored
“ME” – SMS memory storage
“SM” – (U)SIM SMS memory storage
Note: Received CBMs are always stored in “BM” (or some manufacturer specific
storage) unless directly forwarded to TE; Received status reports are always stored
in “SR” (or some manufacturer specific storage) unless directly forwarded to TE.
Note: “ME”, “BM”, “SR” storages are the volatile memory as RAM; So messages
will be disappeared in storages after reboot. And each storages are maximum of 8.
The command returns the memory storage status in the format:
+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3>
where:
<used1>
- number of units stored into
<mem1>
<total1>
- max number of units that
<mem1>
can contain
<used2>
- number of units stored into
<mem2>
<total2>
max number of units that
<mem2>
can contain
<used3>
- number of units stored into
<mem3>
<total3>
- max number of units that
<mem3>
can contain
AT+CPMS?
Read command reports the message storage status in the format:
+CPMS:
<mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<mem3>,<used3>,<total
3>
where
<mem1>
,
<mem2>
and
<mem3>
are the selected storage memories for