N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
36
5 SMS Commands
5.1 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"
<used>: Used quantity
<total>: Total capacity of the storage
<mem1>:
"SM": SIM only
"ME": ME only
"SM_P": SIM prefer, try SIM first, then ME
"ME_P": ME prefer, try ME first, then SIM
"MT": any of storages associated with ME(SIM first)
Return Value
<CR><LF>+CPMS: <used1>,<total1>,<used2>,<total2>,<used3>,<total3>
<CR><LF>OK<CR><LF>
OR
<CR><LF>+CPMS:<mem1>,<used1>,<total1>,<mem2>,<used2>,<total2>,<me
m3>,<used3>,<total3>
<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>OK<CR><LF>
Example
AT+CPMS="SM"
+CPMS: 50, 50, 50, 50, 50, 50
OK
Set the SMS storage to "SM",
that is, store SMS messages in
SIM card.
AT+CPMS?
+CPMS: "SM", 50, 50, "SM", 50, 50,"SM", 50,
Query the capacity of current
SMS storage.