beautypg.com

At^spbg – Siemens Brodersen MC55 AT User Manual

Page 392

background image

MC55_ATC_V04.00

Page 392 of 475

3/17/06

Confidential / Released

16.7

AT^SPBG Display phonebook entries in alphabetical order

AT^SPBG

sorts the entries of the current phonebook in alphabetical order by name (the first six characters mat-

ter). The sort order is described in Section

16.1

,

Sort Order for Phonebooks

.

There are two ways to use

AT^SPBG

:

• If the optional parameter

equals 0 or is omitted the sorted entries will be sequentially num-

bered. As these numbers are not identical with the location numbers stored in the various phonebooks

AT^SPBG

can be used for reading only. For example, it helps you find entries starting with matching charac-

ters. Do not use the serial numbers to dial out or modify entries.

• If parameter

=1 is given by the write command, the response parameter

addi-

tionally appended to each entry indicates the actual location number. This number can be used for editing

with

AT+CPBW

or dialing with

ATD>

. The first index number of each entry is only the serial number

of the sorted list.

Before using the

AT^SPBG

write command it is recommended to query the number of records currently stored in

the active phonebook (refer to test command parameter

). The test command also includes the param-

eters

and

. Note that if SIM storage is selected the length may not be available. If stor-

age does not offer format information, the format list should be empty parenthesises.

Syntax

Parameter Description

First index number in the sorted list where to start reading. The supported range is given in the test command

response.

If exceeds the upper bound

, "+CME ERROR: "invalid index" will be returned.

Last index number in the sorted list where to stop reading. The supported range is given in the test command

response.

If

is not given via write command, only the entry located at

will be displayed.

If both

and

are in the range indicated by the test command parameter

, the list

of entries will be output and terminated with OK.

If

exceeds the range indicated by the test command parameter

, the list of entries will be

output but terminated with a "+CME ERROR: "invalid index".

Test Command

AT^SPBG=?

Response(s)

^SPBG:

(1-

),

,

OK

ERROR

+CME ERROR

Write Command

AT^SPBG=

[,

][,

]

Response(s)

[^SPBG:

,

,

,

[,

]]

[^SPBG:

,

,

,

[,

]]

OK

ERROR

+CME ERROR

Reference(s)

PIN

ASC0 ASC1

MUX1

MUX2

MUX3 Charge

Last

SIEMENS

%

%

%

%

%

%

!

!

!

(num)

(num)