MC55 AT Command Set
15.7 AT^SPBG s
m
obil
e
MC55_ATC_V01.05 Page 385 of 469 2/10/04
Confidential / Released
Text assigned to the phone number. The maximum length for this parameter is given in test command respons e
<tlength>.
value indicating the number of used locations in selected me mory storage.
The location within phonebook memory at which the corresponding entry is located.
This location may be used for other commands. (e.g. AT+CPBR or ATD><mem><n>)
Max. length of phone number for "normal" locations. - Depending on the storag e, a limited number of locations
with extended memory is available per phonebook. Please refer to AT c ommand AT+CPBW for detail.
Max. length of <text> assigned to the telephone number. The value indicated by the test command is given in
octets. If the <text> string is given in GSM characters, each character corresponds to o ne octet. If the <text>
string is given in UCS2, the maximum number of characters depe nds on the coding scheme used for the alpha
field of the SIM according to GSM 11.11, Annex B. In the worst case, the number of UCS2 characters is less
than half the number of GSM characters. For a detailed description see GSM 11 .11, Annex B.
Notes
The AT^SPBG feature is able to sort by the first 6 matching characters only. All following characters will be
ignored.
The command can be used for the phone books "SM", "FD", "ME" (cf. AT+CPBS).
Examples
EXAMPLE 1
Using AT^SPBG without <RealLocReq>.
- First, run the test command to find out the range of phonebook entries st ored in the active phonebook:
TA returns the number of entries in the format:
where 33 is the number of used entries in the active phonebook storage.
- Now, run the write command to display the phonebook entries by alphab etical order. It is recommended
to enter the full range to obtain best results.
TA returns phonebook entries by alphabetical order:
The numbers at the beginning of each line are not the memory locations in t he phonebook, but only serial
<text>(str)(+CSCS)
<used>(num)
<location>(num)
<nlength>(num)
<tlength>(num)
AT^SPBG=?
^SPBG: (1-33),20,17
AT^SPBG=1,33
^SPBG:1,"+999999",145,"Arthur" ^SPBG:2,"+777 777",145,"Bill"
^SPBG:3,"+888888",145,"Charlie" .........