Cinterion
®
EHS6 AT Command Set
6.4 AT+CPWD
EHS6_ATC_V03.001 15/12/3
Confidential / Released
Page 127 of 513
6.4 AT+CPWD Change Password
AT+CPWD allows to define a new password for a password protected <facility> lock function. Each password
is a string of digits, the length of which varies with the associated <facility>. The test command returns a list
of pairs which represent the available facilities and the maximum length of the associated password. See
AT+CLCK for more information on the various lock features.
To delete a password use the following syntax: AT+CPWD=<facility>,<old password>.
Syntax
Parameter Description
Phone security locks set by client or factory:
Primarily intended for the client to take safety precautions, passwords "SC" (SIM PIN) and "P2" (SIM PIN2) are
usually predefined, but can be configured individually. The password for lock facility "PS" may also be factory
set.
“SC“ SIM PIN. USIM requests password upon ME power-up and when this lock
command is issued.
If incorrectly entered three times, the SIM PUK is required to perform authen-
tication. Input of the SIM PUK password is possible only with AT command
AT+CPIN or ATD. <password length>: 4 to 8 digits.
“PS“ Phone locked to USIM card. ME requests password when other than current
USIM card is inserted.
"PS" lock is frequently referred to as "phone lock", or "device lock".
“P2“ SIM PIN 2, e.g. required for authentication with facility lock "FD" (cf. AT+CLCK).
If incorrectly entered three times, the SIM PUK 2 is required to perform authen-
tication. Input of the SIM PUK 2 password is possible only with AT command
AT+CPIN2 or ATD. <password length>: 4 to 8 digits.
Test Command
AT+CPWD=?
Response(s)
+CPWD:list of supported (<facility>, <password length>)
OK
Write Command
AT+CPWD=<facility>, <old password>[, <new password>]
Response(s)
New password has been registered for the facility lock function.
OK
If parameter <old password> was not correct:
+CME ERROR: 16 (+CME ERROR: incorrect password)
If the password for the selected <facility> has been invalidated due to too many failed attempts:
+CME ERROR: ...
If error is related to ME functionality:
+CME ERROR: <err>
PIN Last Reference(s)
+ ± - 3GPP TS 27.007 [45]
<facility>
(str)