beautypg.com

Cpbw – write phonebook entry – Westermo GDW-11 User Manual

Page 62

background image

62 Phonebook commands

6615-2220

+CPBW – Write phonebook entry

Description:

This command writes a phonebook entry in location number in the current
phonebook memory storage.

NOTE:

“RC” and “MC” phonebooks could be only erased by +CPBW. Adding field and/or
modifying field is not allowed for these phonebooks.

This command is not allowed for “EN”, “LD”, “MC”, “RC”, “MT”, “SN” phonebooks, which
can not be written.

If the AT+WCOS=1 command was used, the request would include the ‘Contact’
structure.

Syntax:

For ADN phonebook with AT+WCOS= 0

AT+CPBW=[,[,[,]]]

For ADN phonebook with AT+WCOS= 1

AT+CPBW=[,[,[, [,]]]]

For ME phonebook with AT+WCOS=0

AT+CPBW=[,[,[,]]]

For ME phonebook with AT+WCOS=1

AT+CPBW=[,[,[,[, [,]]]]]

Parameters:

Integer type value depending on the capacity of the phonebook memory.

0:

value deletes all entries of the current phonebook (selected with +CPBS command)

NOTE:

To delete all entries of the current phonebook, +WCOS parameter must be different
from 0, elsewhere a +CME ERROR: 21 (invalid index) will be returned.

Phone number in ASCII format.

TON/NPI (Type of address octet in integer format).

NOTE:

Value is 145 if the dialing string ( response value) includes the international
access code character ‘+’, else value is 129 (ex: a value of 17 will be written as
145).

This manual is related to the following products: