Specifications

TC35i AT Command Set
Confidential / Released
TC35i_ATC_V01.05 Page 122 of 278 04.08.2003
4.32 AT+CPBR Read current phone book entries
Test command
AT+CPBR=?
The test command returns the location range supported by the current storage,
the maximum length of the <number> field and the maximum length of the <text>
field. 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.
Response
+CPBR: (1-<maxloc>), <nlength>, <tlength> OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See write command.
Write command
AT+CPBR=
<location1>
[,<location2>]
Response
The write command selects the memory location <location1>, or the range of lo-
cations <location1>…<location2> to be displayed.
If no <location2> is given, only the entry at <location1> will be displayed.
If no entries are found in the indicated range of locations, only ”OK” is returned.
+CPBR: <location1>, <number>, <type>, <text>[<CR><LF>+CPBR: .....+CPBR:
<location2>, <number>, <type>, <text>] OK
If error is related to ME functionality:
+CME ERROR
Parameter
<location1> (numeric)
The first (lowest) location number within phonebook memory for
which the corresponding entry is to be displayed. The supported
range is given in the test command response.
If <location1>exceeds the upper bound <maxloc>(as indicated by
the test command), the AT command will return a CME ERROR
21 ”INVALID INDEX”.
<location2> (numeric)
The last (highest) location number within phonebook memory for
which the corresponding entry is to be displayed. The supported
range is given in the test command response.
If both <location1> and <location2> are in the range indicated by
the test command in parameter <maxloc>, the list of entries will be
output and terminated with OK.
If <location2> exceeds the range indicated by the test command in
parameter <maxloc>, the list of entries will be output but termi-
nated with a +CME ERROR 21 ”INVALID INDEX”.
<number> (string)
String type phone number in format specified by <type>. The
number parameter may be an empty string.
<type> (numeric)
Type of address octet
145 Dialing string <number>includes international access code
character ’+’
209 Dialing string <number> contains printable non-alphabetic
non-digit characters saved with the number string.