WM620 AT
Command Manual
Copyright © Neoway Technology Co., Ltd
50
5.2 Setting Preferred SMS Storage: +CPMS
Description
To set preferred SMS storage
Format
AT+CPMS=<mem1> <CR>
AT+CPMS? <CR>
AT+CPMS=?<CR>
Parameter
<mem1>: String type, for example, "SM", "ME", "MT"
SM: Store the SMS messages in the SIM card
ME: Store the SMS messages in the module
<used>: Used quantity
<total>: Total capacity of the storage
Return Value
<CR><LF>+CPMS:
<used1>,<total1>,<used2>,<total2>,<used3>,<total3>
<CR><LF>
<CR><LF>OK<CR><LF>
OR
<CR><LF>+CPMS:<mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<mem
3>,<used3>,<total3><CR><LF>
<CR><LF>OK<CR><LF>
OR
<CR><LF>+CPMS: (list of supported <mem1>s),(list of supported <mem2>s),
(list of supported <mem3>s)<CR><LF>
<CR><LF>OK<CR><LF>
Example
AT+CPMS="SM"
+CPMS: 18,50,3,23,3,23
OK
Set SM as the preferred SMS
storage memory.
AT+CPMS?
+CPMS: "SM",18,50,"ME",3,23,"MT",3,23
OK
Query the detailed information of
mem1, mem2, and mem3.
AT+CPMS=?
+CPMS:
("ME","MT","SM","SR"),("ME","MT","SM",
"SR"),("ME","MT","SM","SR")
Query the value range of mem1,
mem2, and mem3.