AT Command Set
6.30 AT^SPBG Read entry from active telephone book via sorted index
This command sorts the active phonebook records by name, in alphabetical order. Please note that
the alphabetical order is assigned an index of its own which is not identical with the location
numbers used in the various phonebooks.
CAUTION: The AT^SBPG command is intended for reading only. For example, it helps you find
entries starting with matching characters. However, do not use the listed index numbers to dial out
or modify entries.
Test command
Response
AT^SPBG=?
^SPBG: (list of used <index>s), <nlength>, <tlength>
OK/ERROR/+CME ERROR
Parameter
<index>
<nlength>
<tlength>
Execute command
Response
AT^SPBG=
^SPBG: <index1>, <number>, <type>, <text>[<CR><CL>
<index1>
^SPBG: .....
[, <index2>]
^SPBG: <index2>, <number>, <type>, <text> ]
OK/ERROR/+CME ERROR
Parameter
<index1>
<index2>
<number>
<type>
<text>
Reference
Note
Siemens
The AT^SPBG feature is able to sort by the first 6 matching characters only. All
the following characters will be ignored.
1. First, run the Test command to find out the range of phonebook entries stored
Example
2. Now, run the Execute command to display the phonebook entries by
TC3X_ATC_01_V04.00
Total number of entries stored in the active phonebook; displayed as
a range of serial numbers (1 – n).
Max. length of phone number
Max. length of the text associated with the phone number
Serial number assigned to the position in the alphabetical list where
reading of entries starts
Serial number assigned to the position in the alphabetical list where
reading of entries ends
Phone number
Type of phone number
Text associated with phone number
in the active phonebook:
AT^SPBG=?
TA returns the number of entries in the format: ^SPBG: (1-33),20,17 where 33
is the total number of entries.
alphabetical order. It is recommended to enter the full range to obtain best
results.
AT^SPBG=1,33
^SPBG: 1,"+999999",145,"Arthur"
^SPBG: 2,"+777777",145,"Bill"
^SPBG: 3,"+888888",145,"Charlie" .........
The numbers at the beginning of each line are not the memory locations in the
phonebook, but only serial numbers assigned to the alphabetical list.
Page 170 of 204
TA returns phonebook entries by alphabetical order:
29.05.2002