Phone Books and Clock

requested, all entries that contain data within that range are returned. If a listing fails in a G24-L error, +CME ERROR: <err> is returned.

This command can also be used to obtain information about the number of entries and the maximum size of a phone number and alpha tag fields in the phone book.

This command acts on the currently active phone book, as selected with the +CPBS command (Refer to “+CPBS, Select Phone Book Memory”, page 3-60).

 

 

 

 

Command

Syntax

Response/Action

Remarks

Type

 

 

 

 

 

 

 

 

 

 

 

Set

+CPBR=<index1>

[+CPBR:

The Set command returns

 

[,<index2>]

<index1>,<number>,<type>,<text>

phone book entries.

 

 

[<CR><LF>

 

 

 

+CPBR:

 

 

 

<index2>,<number>,<type>,<text>]]

 

 

 

OK

 

 

 

or:

 

 

 

+CME ERROR: <err>

 

 

 

 

 

Test

+CPBR=?

+CPBR: (list of supported

The Test command

 

 

<index>s),[<nlength>], [<tlength>]

returns the entry range

 

 

OK

supported by the current

 

 

 

storage as a compound

 

 

 

value and the maximum

 

 

 

lengths of the <number>

 

 

 

and <text> fields.

 

 

 

 

 

 

 

 

The following table shows the +CPBR parameters.

 

Table 3-34: +CPBR Parameters

 

 

<Parameter>

Description

 

 

 

 

<index1>

Index for a given phone book entry

<index2>

 

 

 

<number>

Phone number of a given entry

 

 

<type>

The address type of a phone number

 

129 Use for local call

 

145 Use “+” for international access code

 

128 Unknown

 

"128" is used to represent an email address or a mailing list. In this case, <ph_type>

 

can be used to further differentiate between the two.

 

 

<text>

Text identifier for a phone book entry, according to the character set as specified by

 

command +CSCS.

 

 

<nlength>

The maximum number of digits in the <number>.

 

 

<tlength>

The maximum number of characters in the <text> entry

 

 

 

 

3-62

G24-L AT Commands Reference Manual

April 15, 2008

Page 126
Image 126
PIONEERPOS G24-LC manual 34 +CPBR Parameters