MC55 AT Command Set

15.7 AT^SPBG

<text>(str)(+CSCS)

s

mobile

Text assigned to the phone number. The maximum length for this parameter is given in test command response <tlength>.

<used>(num)

value indicating the number of used locations in selected memory storage.

<location>(num)

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>)

<nlength>(num)

Max. length of phone number for "normal" locations. - Depending on the storage, a limited number of locations with extended memory is available per phonebook. Please refer to AT command AT+CPBW for detail.

<tlength>(num)

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 one octet. If the <text> 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. 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 stored in the active phonebook:

AT^SPBG=?

TA returns the number of entries in the format:

^SPBG: (1-33),20,17

where 33 is the number of used entries in the active phonebook storage.

-Now, run the write command to display the phonebook entries by alphabetical order. It is recommended to enter the full range to obtain best results.

AT^SPBG=1,33

TA returns phonebook entries by alphabetical order:

^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

MC55_ATC_V01.05

Page 385 of 469

2/10/04

Confidential / Released

 

 

Page 385
Image 385
Siemens MC55 manual Spbg 1-33,20,17, ATSPBG=1,33