AT Commands Phone Terminal Terminated
108
AT+CPBW
Phonebook Write
<type>:
<type>
Description
128
Unknown numbering plan, national / international number
unknown
129
ISDN / telephony numbering plan, national/international
unknown
145
ISDN / telephony numbering plan, international number
161
ISDN / telephony numbering plan, national number
128-255
Valid values, see GSM 04.08 section 10.5.4.7
<tlength>:
Integer; maximum length of <findtext> field.
Description:
Writes phonebook entry in location number <index> in the current phonebook
memory storage area, selected with
. If the <number> and <text>
parameters are omitted, the entry is deleted. If <index> is omitted but <number> is
included, the entry is written to the first free location in the phonebook.
Execution command:
AT+CPBW=
[<index>][,<number>[,<type>[,<text>]]]
Note:
If MV, BC or HP is the currently selected phonebook storage, +CME ERROR:
<err> will be returned.
Note:
DC, RC, and MC are not supported.
Note:
If ME is the currently selected phonebook storage, <text> will be interpreted as
“last name” + “,” + “first name” when stored in the hierarchical phonebook.
Note:
Flags may be used to indicate the contact field where the number should be
stored. If no flag is used, the phone number will be stored as of type “home”.
Note:
If ME is the currently selected phonebook storage and AT+CPBW is used with
an <index> that is already used by another number, the old number will be
overwritten and removed from whatever contact it was previously a part of.
If ME is the currently selected phonebook storage and the following criteria are met:
1) AT+CPBW is used with an <index> that is part of a certain contact, and
2) all other parameters except <text> are omitted, and
3) the <text> parameter differs from the name of the contact in question,
the name of the contact will be changed.
Test command:
AT+CPBW=?
Shows if the command is supported.
Test command
response:
+CPBW: (list of supported <index>s),<nlength>,(list of supported <type>s),
<tlength>.
Parameters:
<index>:
Integer; values in the range of location numbers of phonebook memory.
<number>:
String; phone number of format <type>.
<type>:
<type>
Description
128
Unknown numbering plan, national / international number
unknown