User guide

Chapter 3 – Supported GSM/WCDMA AT Commands
High Speed HSPA-H4 AT Commands Reference Guide (Document S000483A) 117
+CPBF Find Phonebook Entries
Description: This command returns phonebook entries with alphanumeric fields starting with a given
pattern. The AT+CPBF= "" command can be used to display all phonebook entries sorted in
alphabetical order.
This command is not allowed for "LD", "RC", "MC" phonebooks and for the β€œEN” phonebook,
which does not contain alphanumeric fields.
It is possible to use this command with UCS2 strings. If a wrong UCS2 format is entered, the
string is considered as an ASCII string.
Syntax: Depending on the context, several responses to the command are possible:
The Entry is Stored in the ADN Phonebook and AT+WCOS=0
Command Responses
Action Command:
AT+CPBF=<string>
+CPBF: <loc>,<num>,<type>,<name>
OK
The Entry is Stored in the ADN Phonebook and AT+WCOS=1
Action Command:
AT+CPBF=<string>
+CPBF: <loc>,<num>,<type>,<name>,<phb_group>
OK
The Entry is Stored in the Mobile Equipment Phonebook and AT+WCOS=0
Action Command:
AT+CPBF=<string>
+CPBF: <loc>,<num>,<type>,<name>,
OK
The Entry is Stored in the Mobile Equipment Phonebook and AT+WCOS=1
Action Command:
AT+CPBF=<string>
+CPBF:
<loc>,<num>,<type>,<name>,<contact>,<phb_group>
OK
Command Responses
Test Command:
AT+CPBF=?
+CPBF:
<nlength>,<tlength>,<glength>,<slength>,<elength>
OK
No Read Command
Values: <string> Searched Pattern String (depends on the format of the data stored in the
phonebooks)
<loc> Location Number (20 digits maximum)
<num> Phone number (20 digits maximum)
<type> TON/NPI Type of Address Octet (Integer type)
129 ISDN / telephony numbering plan, national / international
unknown
145 ISDN / telephony numbering plan, international number
161 ISDN / telephony numbering plan, national number
128-255 Other values (refer GSM 04.08 section 10.5.4.7)
<phb_group> Phonebook Group
Range (1-10)
<name> Name Associated with the Phone Number
Up to 30 ASCII characters or 13 UCS2
<contact> This parameter gathers the following parameters:
<num_Mobile>,<num_Work>, <num_Fax>, <num_Data>, <Email>,
<Address>
<num_Mobile> Phone Number (dedicated for mobile phone number)
Up to 20 digits
<num_Work> Phone Number (dedicated for work phone number)
Up to 20 digits