Specifications

AT Command Set Reference
Ver. 1.00
GSM1308AT001 Page 111 Ver. 1.00 – 10/29/2008
2.2.1.2. AT+CPMS Preferred Message Storage
Command Function Set command selects memory storages
<mem1>, <mem2> and <mem3> to be
used for reading, writing, etc.
Command Functional Short Message Services
Group
Command Format Query AT+CPMS=?
Response +CPMS: (“ME”, “SM”), (“ME”, “SM”), (“ME”,
“SM”)
OK
Write Format AT+CPMS=<mem1>,<mem2>,<mem3>
Response +CPMS: 0, 25, 0, 25, 0, 25
OK
Read Format AT+CPMS?
Response +CPMS: “SM”, 0, 25, “SM”, 0, 25, “SM”, 0,
25
OK
Execution Format N/A
Response N/A
Parameter Values
<mem1> String type; memory from which messages
are read and deleted (commands List
Messages +CMGL, Read Message
+CMGR and Delete Message +CMGD);
defined values:
"ME" ME message storage
"SM" SIM message storage
<mem2> String type; memory to which writing and
sending operations are made (commands
Send Message from Storage +CMSS and
Write Message to Memory +CMGW) ); refer
to <mem1> for defined values