5.6AT+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 commands AT+CLCK and AT^SLCK for more information on the various lock features.

Specifically the command can be used to

change PIN1 or PIN2,

change the password supplied from your provider for the "call barring" supplementary service,

set individual phone security passwords,

enter the unblocking key (Master Phone Code) to restore a disabled "PS" password.

To delete a password use the following syntax: at+cpwd=<facility>,<old password>

Syntax

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

Reference(s)

GSM 07.07

PIN ASC0 ASC1 MUX1 MUX2 MUX3 Charge  Last

% % % % % % ! ! !

Parameter Description

<facility>(str)

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. SIM requests password upon ME power-up and when this lock com-

 

mand 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. For further details please refer to Section 5.1.1, What to do

 

if PIN or password authentication fails?.

 

<password length>: 4 to 8 digits.

MC55_ATC_V04.00

Page 115 of 475

3/17/06

Confidential / Released

 

 

Page 115
Image 115
Siemens MC55 AT manual AT+CPWD Change Password, At+Cpwd=?, +CPWDlist of supported facility, password length