Cpbr – read phonebook entries – Westermo GDW-11 User Manual

Page 60

Advertising
background image

60 Phonebook commands

6615-2220

+CPBR – Read phonebook entries

Description:

This command returns phonebook entries for a range of locations from the current
phonebook memory storage selected with +CPBS.

NOTE:

For all phonebook read commands (+CPBR, +CPBF, +CPBN, +CPBP, +CNUM), the TON/
NPI MSB of each number is set to 1 (ex : a TON/NPI stored as 17 is displayed as 145).

If the AT+WCOS=1 command was used, the response will include <Contact> structure

Syntax:

AT+CPBR=<first_entry>[,<last_entry>]

Response Syntax:

The entry is stored in the ADN phonebook and AT+WCOS=0

+CPBR: <loc>,<num>,<type>,<name>

[+CPBR: <loc>,<num>,<type>,<name>[…]]

The entry is stored in the ADN phonebook and AT+WCOS=1

+CPBR: <loc>,<num>,<type>,<name>,<Phb_group>

[+CPBR: <loc>,<num>,<type>,<name>,<Phb_group> […]]

The entry is stored in the ME phonebook and AT+WCOS=0:

+CPBR: <loc>,<num>,<type>,<name>

[+CPBR: <loc>,<num>,<type>,<name>[…]]

The entry is stored in the ME phonebook and AT+WCOS=1

+CPBR: <loc>,<num>,<type>,<name>,<Contact>,<Phb_group>

[+CPBR: <loc>,<num>,<type>,<name>,<Contact>,<Phb_group> […]]

Parameters:

<first_entry>, <last_entry>

location (or range of locations) where to read phonebook entry

<type>

Type of address byte in integer format. Value is 145 if the dialling string (<number>
response value) includes access code character ‘+’, else value is 129.

Advertising
This manual is related to the following products: