Westermo GD-01 User Manual
Page 57

57
6196-2220
+CPMS Preferred Message Storage
Description:
This command allows the message storage area to be selected (for reading, writing, etc).
Syntax:
AT+CPMS=
Command example
Possible responses
Note
AT+CPMS=? +CPMS: ((“SM”,”BM”,”SR”),
Possible
message
(“SM”))
storages.
OK
AT+CPMS? +CPMS: “SM”, 3, 10,
Read, write...SMS
”SM”, 3,10
from/to SIM 3 SMS are
OK
stored in SIM. 10 is the
total memory available in
SIM
AT+CPMS=”AM”
+CMS ERROR: 302
Select false message
storage
AT+CPMS=”BM”
+CPMS: 2,20,3,10
Select CBM message
OK
storage. Read, list, delete
CBM from RAM 2 CBM
are stored in RAM
AT+CPMS?
+CPMS: “BM” ,2,20,
Read list, delete CBM
”SM”, 3,10
from RAM Write SMS
OK
to SIM
Defined values:
“SM”:
SMS message storage in SIM (default)
“BM”: CBM message storage (in volatile memory).
“SR”:
Status Report message storage (in SIM if the EF-SMR file exists, otherwise in
the ME non volatile memory)
NOTE: “SR” ME non volatile memory is cleared when another SIM card is inserted.
It is kept, even after a reset, while the same SIM card is used.
“SM”:
SMS message storage in SIM (default).
If the command is correct, the following message indication is sent:
+CPMS:
When
related to the type of SMS stored in this memory.
B A C K