Application notes
Version 8 dated 15.03.00
168
Siemens Information and Communication Products
8.2.7.6
Using the
AT^SPBA Browse the phonebook alphabetically
AT^SPBS Steps the selected phonebook alphabetically
Command
SM-Phonebook (Precondition):
<index> <number>
<type>
<text>
1
+4301254
145
Doris
3
00431245
129
Andi
10
+49145787
145
Paul
15
0137484535
129
AW
20
+4372323
145
AA
25
0163562365
129
aA
100
011254587
129
Emil
133
0043145874
129
Zeppelin
145
+49145711
145
Toni
CASE 1: <browsetext> exists in the telephone-list
AT^SPBA=”Doris”
^SPBA: 15,”0137484535”,129,”AW”
^SPBA: 1,”+4301254”,145,”Doris”
^SPBA: 100,”011254587”,129,”Emil”
OK
CASE 2: <browsetext> doesn't exists in the telephone-list
AT^SPBA=”Herbert”
^SPBA: 100,”011254587”,129,”Emil”
^SPBA: 10,”+49145787”,145,”Paul”
^SPBA: 145,”+49145711”,145,”Toni”
OK
Statement: If <browsetext> is not found in the phonebook the first entry in alphabetical order after <browsetext>
is written on the second position.
CASE 3: <browsetext> is the last text found in the alphabetical list (wrap around)
AT^SPBA=”Zeppelin”
^SPBA: 145,”+49145711”,145,”Toni”
^SPBA: 133,”0043145874”,129,”Zeppelin”
^SPBA: 20,”+4372323”,145,”AA”
OK
AT^SPBS=1
(make a step downward)
^SPBS: 133,”0043145874”,129,”Zeppelin”
^SPBS: 20,”+4372323”,145,”AA”
^SPBS: 25,”0163562365”,129,”aA”
OK
AT^SPBS=2
(make a step upward)
^SPBS: 145,”+49145711”,145,”Toni”
^SPBS: 133,”0043145874”,129,”Zeppelin”
^SPBS: 20,”+4372323”,145,”AA”
OK
Statement: If <browsetext> is at the beginning or at the end of the alphabetical list the output list wraps around.