Cpms – preferred message storage – Westermo GDW-11 User Manual
Page 86

86 Short Messages commands
6615-2220
+CPMS – Preferred Message Storage
Description:
This command allows the message storage area to be selected (for reading, writing, etc).
Syntax:
AT+CPMS=<mem1>[,<mem2>[,<mem3>]]
Parameters:
<mem1>
Memory used to list, read and delete messages. It can be:
SM: SMS message storage in SIM (default)
ME: SMS message storage in Flash.
SR:
Status Report message storage (in SIM if the EF-SMR file exists, otherwise in the ME
non volatile memory)
BM: CBM message storage (in 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.
<mem2>
Memory used to write and send messages
SM: SMS message storage in SIM (default).
ME: SMS message storage in Flash.
<mem3>
Memory to which received SMS are preferred to be stored
SM: SMS message storage in SIM (default).
ME: SMS message storage in Flash.
NOTE:
If the command is correct, the following message indication is sent:
+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3>
When <mem1> is selected, all following +CMGL, +CMGR and +CMGD commands are
related to the type of SMS stored in this memory.
The maximum number of SMS in flash is 99.
When the modem is switched on, <mem1>, <mem2> and <mem3> are initialized to SM.