Download Commands

Transcript
AT+CPMS Preferred Message Storage
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 Group
Short Message Services
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
<mem3>
String type; memory to which received messages are preferred to be
stored (unless class of message defines a specific storage location; refer
to command New Message Indications +CNMI); refer to<mem1> for
defined values
- 188 -