Cpbn – move action in phonebook – Westermo GDW-11 User Manual
Page 71

Phonebook commands 71
6615-2220
+CPBN – Move action in phonebook
Description:
This specific command performs a forward or backward move in the phonebook (in
alphabetical order). It is not allowed for the “EN” phonebook which does not contain
alphanumeric fields.
Syntax:
AT+CPBN=<mode>
Response syntax:
The entry is stored in the ADN phonebook and AT+WCOS=0
+CPBN: <loc>,<num>,<type>,<name>
The entry is stored in the ADN phonebook and AT+WCOS=1
+CPBN: <loc>,<num>,<type>,<name>,<Phb_group>
The entry is stored in the ME phonebook and AT+WCOS=0
+CPBN: <loc>,<num>,<type>,<name>
The entry is stored in the ME phonebook and AT+WCOS=1
+CPBN: <loc>,<num>,<type>,<name>,<Contact>,<Phb_group>
Parameters:
<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)
5:
Last item written (usable only if a write operation has been performed on the cur-
rent phonebook since the end of initialization)
<loc>
location number
<num>
phone number
<type>
TON/NPI (Type of address octet in integer format)
<contact>
contact structure