80591ST10886A Rev.2
Page
102
of
200
2018-07-02
<mem2>,<used2>,<total2>,
<mem3>,<used3>,<total3>
OK
Write Command
AT+CPMS=<mem1>[,
<mem2>[, <mem3>]]
+CPMS: <used1>,<total1>,<used2>
,<total2>,<used3>,<total3>
-
Parameter Description
parameter
Value
Instruction
<mem1>
Reading and deleting
messages storage
“ME”,”MT”,”SM”,”SR”
“SM”: SIM card messages storage
“ME”: messages storage
<mem2>
saving and sending
messages storage
“ME”,”MT”,”SM”,”SR”
“SM”: SIM card messages storage
“ME”: messages storage
<mem3>
Receiving messages
storage
“ME”,”MT”,”SM”,”SR”
“SM”: SIM card messages storage
“ME”: messages storage
<usedX>
-
Number of SMS stored in <memX>
<totalX>
-
Number of SMS that <memX> can contain
Example
AT+CPMS=”ME”,”ME”,”SM”
+CPMS: 0,23,0,23,45,50
OK
AT+CPMS?
+CPMS: “ME”,0,23,”ME”,0,23,”SM”,45,50
OK
AT+CPMS=?
Set the messages storage is “ME”,”ME”,”SM”
0 SMS stored in <mem1>, 23 <mem1> can
contain and so on