3 message format - +cmgf – Rainbow Electronics GM862-QUAD-PY User Manual
Page 173

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 173 of 434
+CPMS - Preferred Message Storage
SELINT 2
[,<memw>
[,<mems>]]
Parameters:
<memr> - memory from which messages are read and deleted
"SM" - SIM SMS memory storage
<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 reading, writing and
sending SMs is the SIM internal memory "SM":
<memr>=<memw>=<mems>="SM".
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)
M
S
M
O
D
E
=
1
#
S
M
S
M
O
D
E
=
1
#
S
M
S
M
O
D
E
=
1
Reference GSM
07.05
3.5.5.1.3 Message Format - +CMGF
+CMGF - Message Format
SELINT 0 / 1
AT+CMGF[=
[<mode>]]
Set command selects the format of messages used with send, list, read and
write commands.