TC63 AT Command Set
17.9 AT^SPBG s
TC63_ATC_V00.490 Page 406 of 501 5/24/05
Confidential / Draft - Do not copy
Notes
The command can be used for the phonebooks "SM", "FD", "ME" (cf. AT+CPBS).
AT^SPBG can be used only after the phonebook data from the SIM have been read successfully for the first
time. Reading starts after successful SIM authentication has been performed, and may take up to 30 seconds
depending on the SIM used. While the initial read process is in progress, an attempt to use any of the phone-
book commands will result in "+CME Error: 14" (SIM busy).
We recommend to take advantage of the "^SSIM READY" URC. If enabled with AT^SSET, this URC notifies
the user when SIM data are accessible after SIM PIN authentication. The URC will be delivered once the ME
has completed reading data from the SIM card.
Examples
EXAMPLE 1
Using AT^SPBG without <RealLocReq>:
The numbers at the beginning of each line are not the memory locations in the phonebook, but only serial
numbers assigned to the entries' positions in the alphabetical list.
EXAMPLE 2
Using AT^SPBG with <RealLocReq>:
The numbers at the end of each line are the memory locations in the phonebook and can be used for dialing
or editing phonebook entries:
AT^SPBG=?
First run the AT^SPBG test command to find out the
range of entries stored in the current phonebook.
^SPBG: (1-33),20,17
TA returns the range, where 33 is the number of
entries stored in the current phonebook.
AT^SPBG=1,33
Now, enter the write command. To obtain best
results it is recommended to query the full range of
entries. TA returns phonebook entries in alphabetical
order.
^SPBG:1,"+999999",145,"Arthur"
^SPBG:2,"+777777",145,"Bill"
^SPBG:3,"+888888",145,"Charlie"
......................
AT^SPBG=?
First run the AT^SPBG test command to find out the
range of entries stored in the current phonebook.
^SPBG: (1-33),20,17
TA returns the range, where 33 is the number of
entries stored in the current phonebook.
AT^SPBG=1,33,1
Now, enter the write command including parameter
<RealLocReq>=1 to get the actual location num-
bers.
^SPBG:1,"+999999",145,"Arthur",27
^SPBG:2,"+777777",145,"Bill",6
^SPBG:3,"+888888",145,"Charlie",15
......................
AT+CPBR=27
Read out phonebook location 27.
+CPBR: 27,"+999999",145,"Arthur"
This entry can be edited with AT+CPBW or used for
dialing with ATD><mem><n>.