Westermo GD-01 User Manual

Page 48

Advertising
background image

48

6196-2220

Using mode 4 and 5 with +CPBF command and CPBW:

Command example

Possible responses

Note

AT+CPBF=”Er”

+CPBF: 15,”+331290101”,

Find ”Er” in phonebook,

145, ”Eric”

Display the location

OK

AT+CPBN=2

+CPBN: 5,”+33147658987”,

Read the next location,

145, ”Frank”

display the following

OK

location

AT+CPBF=”Er”

+CPBF: 15, ”+331290101”,

Find ”Er” in phonebook,

145, ”Eric”

display the location

OK

AT+CPBN=4

+CPBF: 15, ”+331290101”,

Get the last location read,

145, ”Eric”

display the last location

OK

read

AT+CPBW=,”0146290800”,

Write an item at the first

129,”WM”

OK

location available, no infor-
mation about this location

AT+CPBN=4

+CPBF: 15, ”+331290101”,

Get the last location read,

145,”Eric”

display the last location

OK

read

AT+CPBN=5

AT+CPBN=38,”0146290800, Display the last item

129,”WM”

written with its location

AT+CPBN=4

AT+CPBN=38,”0146290800, Get the last item read,

129,”WM”

now the last item read is
the last written item too

AT+CPBF=”800041FFFF”

+CPBF: 15,”+3312345”,145,

Find”800041” in phone-

”8000414339FFFF”

book, Display this loca-

OK

tion

AT+CPBN=4

+CPBF: 15,”+3312345”,145,

Get the last location read,

”8000414339FFFF”

display the last location

OK

read

Please note that the AT+CPBN=5 command is useful after an AT+CPBW command used
without a location.

Defined values:

<mode>

0:

First item

1:

Last item

2:

Next valid item in alphabetical order

3:

Previous valid item in alphabetical order

4:

Last item read (usable only if a read operation has been performed on the
current phonebook since the end of initialization (+WIND: 4))

5:

Last item written (usable only if a write operation has been performed on the
current phonebook since the end of initialization (+WIND: 4)).

B A C K

Advertising