Specifications

SIM900 AT Commands Set
SIM900_ATC_V1.01 75 23.06.2010
Test Command
AT+CPWD=?
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, <pwdlength>s)
OK
Parameters
<fac>
otherwise 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
3.2.30 AT+CR Service Reporting Control
AT+CR Service Reporting Control
Test Command
AT+CR=?
Response
+CR: (list of supported <mode>s)
OK