Westermo GDW-11 User Manual

Page 50

Advertising
background image

50 Security commands

6615-2220

Parameters:

<pin>

Personal Identification Number, 4 digits number.

<puk>

Personal Unblocking Key needed to change the PIN, eight digits number.

Command example

Possible responses

Note

AT+CPIN=1234 OK

Enter PIN, result: PIN code
is correct

AT+CPIN=5678

+CME ERROR : 3

Enter PIN, Operation not
allowed, PIN previously
entered

AT+CPIN=00000000,1234 +CME

ERROR:

16

Enter PUK and new PIN,
result: Incorrect PUK

AT+CPIN=12345678,1234 OK

Enter PUK and new PIN,
2nd attempt, PUK correct,
new PIN stored

3 failed PIN validations + 1 successful PUK validation:

AT+CPIN?

+CPIN: SIM PIN

Read the PIN status The
product requires SIM PIN

AT+CPIN=1235 +CME

ERROR:

16

First attempt to enter a
SIM PIN, Wrong PIN

AT+CPIN=1236 +CME

ERROR:

16

Second attempt, Wrong
PIN

AT+CPIN=1237

+CME ERROR: 16

Third attempt, Wrong PIN

AT+CPIN?

+CPIN: SIM PUK

Read PIN state, The prod-
uct requires PUK

AT+CPIN=99999999,5678 OK

The PUK is entered, the
new PIN shall be 5678 PUK
validation is OK. New Pin is
5678

AT+CPIN? +CPIN:

READY

Read PIN state, The prod-
uct is ready

If the user tries to do something which requires PIN2 (CHV2), the product will refuse
the action with a “+CME ERROR: 17” (SIM PIN2 required). The product then waits for
SIM PIN2 to be given. Of course, if SIM PIN2 is blocked, SIM PUK2 is required instead of
SIM PIN2. For example, the product needs PIN2 to write in the fixed dialling phonebook
(FDN), so if SIM PIN2 authentication has not been performed during the current session,
SIM PIN2 is required.

Advertising
This manual is related to the following products: