beautypg.com

Westermo GD-01 User Manual

Page 42

background image

42

6196-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).

Syntax:

AT+CPBR

Command example

Possible responses

Note

AT+CPBR=? +CPBR: (1-50),20,10

Test

command,

OK

50 locations
(from 1 to 50), max
length for phone number
is 20 digits, 10 characters
max for the text

AT+CPBR=12,14 +CPBR: 12,”112”,129,

”Emergency”

Read entries from 12
to 14, Display locations

+CPBR: 13,”+331290909”,

12,13,14 with location,

145,”Fred”

number, type (TON/NPI),

+CPBR: 14,”0146290808”,

text

129,”Zazi”

OK

AT+CPBR=10 +CPBR:10,”0146290921”,

Read

entry

10, display

129,”Rob”

location 10

OK

AT+CPBR=11

+CPBR:11,”0146290921”,

Read entry 11 (UCS2

129, ”8000010002FFFF”

format), display location 11

OK

AT+CPBR=52

+CME ERROR: 21

Read entry 52 (wrong),
Invalid index

B A C K