AT Command Set
MC35_ATC_01_V05.00 Page 119 of 256 15.07.2002
4.38 AT+CPWD Change password
Use this command when you want to
· change PIN1 or PIN2
· change the password supplied from your provider for call barring
· set individual phone security passwords
See Chapters 4.21 and 8.13 for more information on the various lock features. T he AT^SPWD
command is a Siemens defined command equivalent to AT+CPWD. See C hapter 8.36.
Test command
AT+CPWD=?
Response
TA returns a list of pairs which represent the available facilities and the max i-
mum length of the associated password.
+CPWD: (list of supported (<fac>, <pwdlength>)s) OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<fac> see execute command
<pwdlength> integer max. length of password
Execute command
AT+CPWD =
<fac>, [<oldpwd>],
<newpwd>
Response
TA sets a new password for the facility lock function.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<fac> Phone security locks set by manufacturer or client:
"SC" SIM (lock SIM card). SIM asks SIM PIN1 when ME is switched
on and when this lock command is issued.
"P2" SIM PIN2. Used to access the functions listed in Chapter 4.36.
"PS" Phone locked to SIM (device code). The "PS" pass word may ei-
ther be individually specified by the client or, depending on the
subscription, supplied from the provider (e.g. with a prepaid mo-
bile).
Note: Each, SIM PIN1 and SIM PIN2 are assigned a PUK to unblock a
disabled PIN.
The "PS" password, however, is never associated with a PUK. If
it is incorrectly entered three times, the Master Phone Code is
required. See Chapter 4.35.1
Locks set by the manufacturer:
"PF" lock Phone to the very first SIM card
"PN" Network Personalisation
"PU" Network-subset Personalisation
"PP" Service-Provider Personalisation
"PC" Corporate Personalisation
Note: Typical examples of factory set locks are prepaid phones or net-
work locks (e.g. if the operation of a mobile is restricted to a spe-
cific provider or operator). The locks can only be set by the
manufacturer and need to be a
g
reed u
p
on between the
p
arties