> 2.12.1 | Phonebook initialization

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

> This chapter describes how to initialize the module for using phonebook functions. Note that all AT commands available for reading or editing any entries are related to the active phonebook storage. To select a phonebook use the command AT+CPBS.
> If you wish to write entries to the fixdialing phonebook, it is necessary to enter PIN2 before. You have only 3 attempts to enter the correct PIN2. After 3 wrong attempts PUK2 is required. For detailed information about entering PIN2 see Section 2.5.5.

> 2.12.1.2 | Used AT commands

> Command | Explanation
> AT+CPBS | Select phonebook memory storage
> AT+CPIN2 | Enter PIN2

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

> 2.12.1.3 | Flow chart

> Figure 87: Phonebook initialization

> 2.12.1.4 | Hints

> Not applicable.

> 2.12.1.5 | Example

> ***************************************
> Comment: Phonebook initialization
> ***************************************
> ***************************************
> Comment: Request selected phonebook storage.
> ***************************************
> Subscr 1 Send: AT+CPBS?
> Subscr 1 Receive: AT+CPBS?
> Subscr 1 Receive: +CPBS: "ME",53,250
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Select FD as current phonebook storage.
> ***************************************
> Subscr 1 Send: AT+CPBS="FD"
> Subscr 1 Receive: AT+CPBS="FD"
> Subscr 1 Receive: OK
> ***************************************
> Comment: Entering wrong PIN2
> ***************************************
> Subscr 1 Send: AT+CPIN2=0000
> Subscr 1 Receive: AT+CPIN2=0000
> Subscr 1 Receive: +CME ERROR: incorrect password
> ***************************************
> Comment: Entering correct PIN2.
> ***************************************
> Subscr 1 Send: AT+CPIN2=1234
> Subscr 1 Receive: AT+CPIN2=1234
> Subscr 1 Receive: OK
> ***************************************
> Comment: Entering correct PIN2 second time.
> ***************************************
> Subscr 1 Send: AT+CPIN2=1234
> Subscr 1 Receive: AT+CPIN2=1234
> Subscr 1 Receive: +CME ERROR: operation not allowed