TC63 AT Command Set

17.9 AT^SPBG

s

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

 

 

 

 

 

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

 

^SPBG:1,"+999999",145,"Arthur"

results it is recommended to query the full range of

 

^SPBG:2,"+777777",145,"Bill"

entries. TA returns phonebook entries in alphabetical

 

^SPBG:3,"+888888",145,"Charlie"

order.

 

......................

 

 

 

 

 

 

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

 

 

 

 

 

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

 

^SPBG:1,"+999999",145,"Arthur",27

<RealLocReq>=1 to get the actual location num-

 

^SPBG:2,"+777777",145,"Bill",6

bers.

 

^SPBG:3,"+888888",145,"Charlie",15

 

 

......................

 

 

 

 

 

 

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+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>.

TC63_ATC_V00.490

Page 406 of 501

5/24/05

Confidential / Draft - Do not copy

 

 

Page 406
Image 406
Siemens TC63 manual Using Atspbg without RealLocReq, Using Atspbg with RealLocReq, AT+CPBR=27