AT Commands Reference
176 98-08901C68-O
Test Command
The Test command returns a list of pairs which represent the available facilities, and the maximum length of their passwords.
The following table shows the +CPDW parameters.
Example
at+cpwd =?
+CPWD: ("SC",8),("AO",8),("OI",8),("OX",8),("AI",8),("IR",8),("AB",8),("AG",8), ("AC",8),("P2",8)
OK
Command Response/Action
AT+CPWD=? +CPWD:list of supported (<fac>,<pwdlength>)s
OK
or:
+CME ERROR: <err>
Table 82. +CPDW Parameters
<Parameter> Description
<fac> List of supported facilities. All the facility messages, except
for SC and P2, are sent to the network. (The facilities are
not case-sensitive.)
SC SIM (lock SIM card)
The SIM requests the password during g20
power-up and when this command is issued.
AO BAOC (Barr All Outgoing Calls)
OI BOIC (Barr Outgoing International Calls)
OX BOIC-exHC (Barr Outgoing International Calls
except to Home Country)
AI BAIC (Barr All Incoming Calls)
IR BIC-Roam (Barr Incoming Calls when Roaming
outside the home country)
AB All Barring services
(applicable only for <mode>=0)
AG All outGoing barring services
(applicable only for <mode>=0)
AC All inComing barring services
(applicable only for <mode>=0)
P2 SIM PIN2
(Refer to “+CLCK, Facility Lock”, page 178)
<oldpwd> String type, 4-8 character password specified for the facility
from the g20 user interface.
<newpwd> String type, 4-8 character new password specified by the
user.
<pwdlength> Maximum length of the facility password. Integer type.