> 2.5.2 | Entering SIM PUK

> This section comprises the subsections Description, Used AT Commands, Flow Chart, Hints and Example. To move to these subsections please use the Navigation Frame or the appropriate buttons on the toolbar.

> 2.5.2.1 | Description

> This chapter describes how to enter the SIM PUK. The SIM PUK is needed after entering a wrong SIM PIN three times. You have two ways to enter the PUK. The flow chart gives an example of both ways and shows what happens when entering a wrong PUK. After entering a wrong PUK ten times, your SIM will be blocked and you have to ask your provider for a new one.

> 2.5.2.2 | Used AT commands

> Command | Explanation
> AT+CPIN | Enter PIN
> ATD | Dial command used with GSM code
> AT^SPIC | Display PIN counter

> For further details about the commands see [2].

> 2.5.2.3 | Flow chart

> Figure 19: Entering SIM PUK

> 2.5.2.4 | Hints

> Not applicable.

> 2.5.2.5 | Example

> ***************************************
> Comment: Entering SIM PUK
> ***************************************
> ***************************************
> Comment: Entering 3 times the wrong PIN
> Comment: First failure to enter PIN.
> ***************************************
> Subscr 1 Send: AT+CPIN=1111
> Subscr 1 Receive: AT+CPIN=1111
> Subscr 1 Receive: +CME ERROR: incorrect password
> ***************************************
> Comment: Second failure to enter PIN.
> ***************************************
> Subscr 1 Send: AT+CPIN=1111
> Subscr 1 Receive: AT+CPIN=1111
> Subscr 1 Receive: +CME ERROR: incorrect password
> ***************************************
> Comment: Third failure to enter PIN.
> ***************************************
> Subscr 1 Send: AT+CPIN=1111
> Subscr 1 Receive: AT+CPIN=1111
> Subscr 1 Receive: +CME ERROR: incorrect password
> ***************************************
> Comment: Request PIN counter
> ***************************************
> Subscr 1 Send: AT^SPIC
> Subscr 1 Receive: AT^SPIC
> Subscr 1 Receive: ^SPIC: 10
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Entering wrong PUK by using AT+CPIN command
> ***************************************
> Subscr 1 Send: AT+CPIN=12345679,0000
> Subscr 1 Receive: AT+CPIN=12345679,0000
> Subscr 1 Receive:
> Subscr 1 Receive: +CME ERROR: incorrect password
> ***************************************
> Comment: Request PIN counter
> ***************************************
> Subscr 1 Send: AT^SPIC
> Subscr 1 Receive: AT^SPIC
> Subscr 1 Receive: ^SPIC: 9
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Entering wrong PUK by using AT+CPIN command
> ***************************************
> Subscr 1 Send: AT+CPIN=12345679,0000
> Subscr 1 Receive: AT+CPIN=12345679,0000
> Subscr 1 Receive:
> Subscr 1 Receive: +CME ERROR: incorrect password
> ***************************************
> Comment: Request PIN counter
> ***************************************
> Subscr 1 Send: AT^SPIC
> Subscr 1 Receive: AT^SPIC
> Subscr 1 Receive: ^SPIC: 8
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Entering wrong PUK by using ATD command
> ***************************************
> Subscr 1 Send: ATD **05*12345679*0000*0000#;
> Subscr 1 Receive: ATD **05*12345679*0000*0000#;
> Subscr 1 Receive:
> Subscr 1 Receive: +CME ERROR: incorrect password
> ***************************************
> Comment: Request PIN counter
> ***************************************
> Subscr 1 Send: AT^SPIC
> Subscr 1 Receive: AT^SPIC
> Subscr 1 Receive: ^SPIC: 7
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Entering correct PUK
> ***************************************
> Subscr 1 Send: AT+CPIN=12345678,0000
> Subscr 1 Receive: AT+CPIN=12345678,0000
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> Subscr 1 Receive:
> Subscr 1 Receive: +CREG: 2
> Subscr 1 Send: AT+CPIN?
> ***************************************
> Comment: Entering wrong PUK by using AT+CPIN command
> ***************************************
> Subscr 1 Send: AT+CPIN=12345679,0000
> Subscr 1 Receive: AT+CPIN=12345679,0000
> Subscr 1 Receive:
> Subscr 1 Receive: +CME ERROR: incorrect password