Specifications

SIM900 AT Command Manual
SIM900_AT Command Manual_V1.03 73 12/24/2010
GSM 07.07 [13]
3.2.29 AT+CPWD Change Password
AT+CPWD Change Password
Response
TA returns a list of pairs which present the available facilities and the
maximum length of their password.
+CPWD: (list of supported <fac>s, list of supported <pwdlength>s)
OK
Test Command
AT+CPWD=?
Parameters
<fac> see Write Command
<pwdlength> integer max. length of password
Response
TA sets a new password for the facility lock function.
OK
Write Command
AT+CPWD =
<fac>, <oldpwd>,
<newpwd>
Parameters
<fac>
"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
"P2" SIM PIN2
"SC" SIM (lock SIM/UICC card) (SIM/UICC asks password
in MT power-up and when this lock command
issued) Correspond to PIN1 code.
<oldpwd> string type (string should be included in quotation marks):
password specified for the facility from the user interface
or with Command. If an old password has not yet been
set, <oldpwd> is not to enter.
<newpwd> string type (string should be included in quotation marks):
new password
Reference
GSM 07.07 [13]
Note