3 at+cpbr read from phonebook, At+cpbr, Ac75 at command set – Siemens AC75 User Manual

Page 435

Advertising
background image

AC75 AT Command Set

17.3 AT+CPBR

s

AC75_ATC_V01.002

Page 435 of 569

10/30/06

Confidential / Released

17.3

AT+CPBR Read from Phonebook

AT+CPBR

serves to read one or more entries from the phonebook selected with AT command

AT+CPBS

.

The

AT+CPBR

test command returns the location range supported by the current phonebook storage, the maxi-

mum length of

<number>

field and the maximum length of

<text>

field.

Note: Length information may not be available while SIM storage is selected. If storage does not offer format

information, the format list contains empty parenthesizes.

The

AT+CPBR

write command determines the phonebook entry to be displayed with

<location1>

or a location

range from

<location1>

to

<location2>

. Hence, if no

<location2>

is given only the entry at

<location1>

will be displayed.

If no entries are found at the selected location "OK" will be returned.

Syntax

Parameter Description

The first (lowest) location number within phonebook memory where to start reading. The maximum range sup-

ported by the current phonebook is given in the test command response.

If

<location1>

exceeds the upper bound

<maxloc>

(as indicated by the test command), command will

respond with "+CME ERROR: invalid index".

The last (highest) location number within phonebook memory where to stop reading. The maximum range sup-

ported by the current phonebook is given in the test command response.

If both

<location1>

and

<location2>

are in the range indicated by the test command parameter

<max-

loc>

, the list of entries will be output and terminated with "OK".

If

<location2>

exceeds the range indicated by the test command parameter

<maxloc>

, the list of entries will

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

Note: The maximum value of

<location2>

is 255, regardless of the phonebook type and its range indicated

by

<maxloc>

. If a value greater than 255 is used the query returns no phonebook records, and only "+CME

ERROR: invalid index" is shown.

Phone number in format specified by

<type>

, it may be an empty string.

Test Command

AT+CPBR=?

Response(s)

+CPBR:

(1-

<maxloc>

),

<nlength>

,

<tlength>

OK

+CME ERROR

Write Command

AT+CPBR=

<location1>

[,

<location2>

]

Response(s)

[+CPBR:

<location1>

,

<number>

,

<type>

,

<text>

]

[+CPBR:

<location2>

,

<number>

,

<type>

,

<text>

]

OK

+CME ERROR

Reference(s)

PIN

ASC0 ASC1 USB MUX1 MUX2 MUX3 Charge

4

Last

GSM 07.07, GSM 11.11

+

+

+

+

+

+

+

-

+

-

<location1>

(num)

<location2>

(num)

<number>

(str)

Advertising