98-08901C68-O 105
AT Commands Reference
Example
AT+MPBF="Moto"
+MPBF: 2,"8475767800",129,"Moto Voicemail",3,...*
OK
4.4.1.6 +CPBW, Write Phone Book Entry
This command enables the accessory to store a new entry in the phone book, or delete an existing entry from the phone book.
An entry can be stored in a particular location in the phone book, or in the next available location.
This command writes the entries on the currently active phone book, selected with the +CPBS command (Refer to “+CPBS,
Select Phone Book Memory”, page 94). The entries are entered into a location number <index>, the phone number is entered
into the <number> field and text associated with the number is entered into the <text> field. If these fields are omitted, the phone
book entry is deleted. If the <index> field is omitted, but a number is entered in the <number> field, the phone number is entered
into the first available location in the phone book. If the writing fails in a g20 error, +CME ERROR: <err> is returned.
In the case of SIM storage, the length of the field may not be available. If the g20 is not currently reachable, +CME ERROR:
<err> is returned. If the storage does not offer format information, the format list should not have parentheses.
Set Command
Test Command
This command queries the allowable locations and sizes.
<sub_field_index> A zero based index pointing to the first character in the
second subfield.
0 First sub-field does not exist.
If the <first_last_enabled> field is 255, then the value in this
field is ignored. The second sub-field is defined as all
characters following the first sub-field.
Command Response/Action
AT+CPBW=[<index>][,<number>
[,<type>[,<text>]]]
OK
or:
+CME ERROR: <err>
Command Response/Action
AT+CPBW=? +CPBW: (list of supported <index>s),[<nlength>],
(list of supported <type>s),[<tlength>]
OK
Table 36. +MPBF Parameters (Continued)
<Parameter> Description