AT Command Set
4.28 AT+CPBR Read current phonebook entries
Test command
Response
TA returns location range supported by the current storage as a compound value
AT+CPBR=?
and the maximum length of <number> and <text> fields.
Note:
If SIM storage is selected, the length may not be available. If storage does not
offer format information, the format list should be empty parentheses.
+CPBR: (list of supported <index>s ), <nlength>, <tlength> OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
<index>
<nlength>
<tlength>
Execute command
Response
TA returns phonebook entries in location number range <index1> ... <index2>
AT+CPBR=<ind
from the current phonebook memory storage selected with +CPBS. If <index2> is
ex1>[,<index2>]
left out, only location <index1> is returned.
+CPBR: <index1>, <number>, <type>, <text>[<CR><LF>+CPBR: .....+CPBR:
<index2>, <number>, <type>, <text>] OK
If error is related to ME functionality:
+CME ERROR
Parameter
<index1>
<index2>
<number>
<type>
<text>
1. First, run the Test command to find out the maximum range of entries stored
Example
2. Now, run the Execute command to display the phonebook entries sorted by
Reference
Note
GSM 07.07
TC3X_ATC_01_V04.00
supported range of location numbers (maximum number
depends on storage type)
max. length of phone number, normally 20, for a small
number of locations 40
max. length of text assigned to phone number (depending on
storage type 16 - 18 characters including blanks)
location number where reading starts
location number where reading ends
phone number
type of address octet in integer format; 145 when dialling string
includes international access code character "+", otherwise 129.
string type field of maximum length <tlength>. Character set as
specified with +CSCS .
in the active phonebook:
AT+CPBR=?
TA returns the supported values in the format: +CPBR: (1-100),20,17 where
100 is the supported range of location numbers, 20 is the length of the phone
number and 17 is the maximum length of the text associated text.
location numbers.
AT+CPBR =1,100
+CPBR 1,"+999999",145,"Charlie"
+CPBR: 2,"+777777",145,"Bill"
+CPBR: 3,"+888888",145,"Arthur" .........
Page 93 of 204
29.05.2002