![Siemens Mobile TC45 Скачать руководство пользователя страница 354](http://html.mh-extra.com/html/siemens-mobile/tc45/tc45_manual_1266136354.webp)
TC45 AT Command Set
15.2 AT+CPBR
s
m
obile
TC45_ATC_V02.02
Page 354 of 461
4/16/04
Confidential / Released
assigned to the telephone number. The value indicated by the test command is
given in octets. If
is given as GSM characters each character corresponds to one octet. If the
string is given in UCS2, the maximum number of characters depends on the coding scheme used for the alpha
field of the SIM according to GSM 11.11, Annex B
. As a worst case the number of UCS2 characters is less
than half the number of GSM characters. For a detailed description please refer to GSM 11.11, Annex B
Note
• If the ME is Java controlled, take into account that the AT Command API can handle responses up to a length
of 1024 bytes. To avoid any longer responses it is recommended not to read the entire range of phonebook
entries at a time.
Examples
EXAMPLE 1
First run the test command to find out the maximum range of entries stored in the active phonebook
TC45 returns the supported values, 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 associated text.
EXAMPLE 2
Then use the execute command to display the phonebook entries sorted by location numbers
<tlength>
(num)
AT+CPBR=?
+CPBR:(1-100),20,17
AT+CPBR =1,3
+CPBR:1,"+999999",145,"Charlie"
+CPBR:2,"+777777",145,"Bill"
+CPBR:3,"+888888",145,"Arthur"