Westermo GD-01 User Manual

Page 40

Advertising
background image

40

6196-2220

+CPWD – Change password

Description:

This command is used by the application to change a password (PIN, call barring, NCK,
etc.).The facility values <fac>) are the same as for the +CLCK command with a “P2”
facility to manage SIM PIN2. For the network lock (“PN”), unlocking is forbidden after 10
failed attempts to disable (unlock) the network lock with an incorrect password.

Syntax:

AT+CPWD= <fac>, <oldpwd>, <newpwd>

Command example

Possible responses

Note

AT+CPWD=? +CPWD: (“PS”,8),(“SC”,8),

Possible

values,

(“AO”,4),(“OI”,4),(“OX”,4), CHV1/CHV2
(“AI”,4),(“IR,4),(“AB”,4),

must be on 8 digits

(“AG”,4),(“AC”,4),(“P2”,8),

maximum (4mn), for call

(“FD”,8),("PN",8),("PU",8),

barring, on 4 digits

("PP",8), ("PC",8)

maximum

OK

AT+CPWD=”SC”,1234,5555

OK

Change PIN, PIN was cor-
rect

AT+CPWD=”SC”,1234,5555

+CME ERROR: 16

Change PIN, PIN was
wrong

AT+CPIN=5555

OK

Enter PIN, PIN was
correct

AT+CPWD=”PN”,12345678,

Change NCK, NCK

00000000

OK

changed for net lock

B A C K

Advertising