G5/G6-Family AT Commands User Manual Page
8.1.5 +CPWD, Change Password
This command sets a new password for the facility lock. The password can only be changed once the
required facility is enabled by the +CLCK command.
A password can be changed only if the provided password <oldpwd> has been verified. The entered
password <newpwd> must also comply to the password rules. The facility value <fac> is not
case-sensitive. In the password value, letters are not allowed.
AT+CPWD=
<fac>,<oldp
wd>,<newp
wd>
The Set command sets a new
password for the facility lock function,
defined by the +CLCK command.
+CPWD: list of
Supported
(<fac>,<pwdlength>)s
OK
or:
+CME ERROR: <err>
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 +CPWD parameters.
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 Module power-up and when this
command is issued.
AO BAOC (Bar All Outgoing Calls)
OI BOIC (Bar Outgoing International Calls)
OX BOIC-exHC (Bar Outgoing International Calls except to Home
Country)
AI BAIC (Bar All Incoming Calls)
IR BIC-Roam (Bar Incoming Calls when Roaming outside the home