> 2.5.5 | Entering SIM PIN2

> 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.5.1 | Description

> This chapter describes how to enter the SIM PIN2. The SIM PIN2 is needed to use the following functions:

> • | AT+CACM – Accumulated call meter (reset ACM value)

> • | AT+CAMM – Accumulated call meter maximum (set ACMmax value)

> • | AT+CLCK or AT^SLCK – Facility lock to "FD" (activate Fixed dialing phonebook)

> • | AT+CPUC – Price per unit and currency table (change currency or units)

> • | Editing the “FD” phonebook with AT+CPBW

> For details about using PIN2 see [2]. After entering a wrong SIM PIN2 three times you have to enter PUK2 to unblock PIN2.

> 2.5.5.2 | Used AT commands

> Command | Explanation
> AT+CPIN2 | Enter PIN2
> AT^SPIC | Display PIN counter

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

> 2.5.5.3 | Flow chart

> Figure 22: Entering SIM PIN2

> 2.5.5.4 | Hints

> • | To edit the Fixed dialing phonebook, PIN2 validation must be performed before.

> 2.5.5.5 | Example

> ***************************************
> Comment: Entering SIM PIN2
> Comment: Request state of SIM PIN2
> ***************************************
> Subscr 1 Send: AT+CPIN2?
> Subscr 1 Receive: AT+CPIN2?
> Subscr 1 Receive: +CPIN2: SIM PIN2
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Request PIN counter
> ***************************************
> Subscr 1 Send: AT^SPIC
> Subscr 1 Receive: AT^SPIC
> Subscr 1 Receive: ^SPIC: 3
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Entering a wrong PIN2
> ***************************************
> Subscr 1 Send: AT+CPIN2=5678
> Subscr 1 Receive: AT+CPIN2=5678
> Subscr 1 Receive: +CME ERROR: incorrect password
> ***************************************
> Comment: Request state of SIM PIN2
> ***************************************
> Subscr 1 Send: AT+CPIN2?
> Subscr 1 Receive: AT+CPIN2?
> Subscr 1 Receive: +CPIN2: SIM PIN2
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Request PIN counter
> ***************************************
> Subscr 1 Send: AT^SPIC
> Subscr 1 Receive: AT^SPIC
> Subscr 1 Receive: ^SPIC: 2
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Entering a wrong PIN2
> ***************************************
> Subscr 1 Send: AT+CPIN2=5678
> Subscr 1 Receive: AT+CPIN2=5678
> Subscr 1 Receive: +CME ERROR: incorrect password
> ***************************************
> Comment: Request state of SIM PIN2
> ***************************************
> Subscr 1 Send: AT+CPIN2?
> Subscr 1 Receive: AT+CPIN2?
> Subscr 1 Receive: +CPIN2: SIM PIN2
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Request PIN counter
> ***************************************
> Subscr 1 Send: AT^SPIC
> Subscr 1 Receive: AT^SPIC
> Subscr 1 Receive: ^SPIC: 1
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Entering a wrong PIN2
> ***************************************
> Subscr 1 Send: AT+CPIN2=5678
> Subscr 1 Receive: AT+CPIN2=5678
> Subscr 1 Receive: +CME ERROR: incorrect password
> Subscr 1 Send: AT+CPIN2?
> Subscr 1 Receive: AT+CPIN2?
> Subscr 1 Receive: +CPIN2: SIM PUK2
> Subscr 1 Receive:
> Subscr 1 Receive: OK