MC55 AT Command Set

15.7 AT^SPBG

s

mobile

15.7AT^SPBG Read current Phonebook entries

This command can be used to display the phonebook records of the phonebook currently selected with AT+CPBS in sorted order by name. The sort order is described in Chapter 15.1, page 370, "Sort order for Phonebooks". There are two ways to use command AT^SPBG:

If the optional parameter <RealLocReq> is omitted: Please note that the sorted entries are assigned an index of their own which is not identical with the location numbers used in the various phonebooks.

In this case, command AT^SPBG can be used for reading only. For example, it helps you find entries starting with matching characters. Do not use the listed index numbers to dial out or modify entries.

To access an entry found with AT^SPBG for editing or dialing, enter AT^SPBG with the parameter <RealLo- cReq>=1.

Then extract the "real" location number of the entry from response parameter <location> and use this "real" location number with ATD><mem><n> or AT+CPBW.

This command 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 read process is in progress, an attempt to use any of the phonebook com- mands will result in "+CME Error: 14" (SIM busy).

Syntax

Test Command

AT^SPBG=?

Response(s)

^SPBG: (1-<used>),<nlength>, <tlength>

OK ERROR +CME ERROR

Write Command

AT^SPBG=<index1>[, <index2>][, <RealLocReq>]

Response(s)

[^SPBG: <index1>, <number>, <type>, <text>[, <location>] ]

[^SPBG: <index2>, <number>, <type>, <text>[, <location>] ]

OK ERROR +CME ERROR

PIN ASC0 ASC1 MUX1 MUX2 MUX3

￿ ￿ ￿ ￿ ￿ ￿

Reference(s)

SIEMENS

MC55_ATC_V01.05

Page 383 of 469

2/10/04

Confidential / Released

 

 

Page 383
Image 383
Siemens MC55 manual Atspbg Read current Phonebook entries, Atspbg=?, Spbg 1-used,nlength, tlength