Specifications
TC35i AT Command Set
Confidential / Released
TC35i_ATC_V01.05 Page 126 of 278 04.08.2003
4.34 AT+CPBW Write phone book entry
Test command
AT+CPBW=?
The test command returns the location range supported by the current storage,
the maximum length of <number> field, the range of supported <type> values
and the maximum length of <text> field.
Note: The length may not be available while SIM storage is selected. If storage
does not offer format information, the format list should be empty parenthe-
sises.
Response
+CPBW: <1-maxloc>), <nlength>, (list of supported <type>s), <tlength> OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
See write command.
Write command
AT+CPBW=
[<location>]
[,<number>
[[,<type>]
[,<text>]]]
This command writes a phone book entry to the memory location <location> of
the active storage selected with AT+CPBS.
If selected <storage>=”FD” (SIM fixed dialling numbers), PIN2 authentication
has to be performed prior to write access.
If no <location> is given, the first free entry will be used.
If <location> is given as the only parameter, the phonebook entry specified by
<location>is deleted.
If writing fails, an indication ”+CME ERROR” is returned.
Response
OK/ERROR/+CME ERROR
<location> (numeric)
Location number within phonebook memory. The supported
range is given in the test command response
<number> (string)
String type phone number in format specified by <type>.
The number parameter must be present, although it may be an
empty string. Alphabetic characters are not permitted in the
number string.
<number> may contain printable non-alphabetic characters from
the standard GSM alphabet, including ”*”,”#” or ”+”, as dialstring
modifiers. However if <number> contains modifiers other than
”*”,”#” or ”+”, the following constraints must be considered:
- If no <type> was specified explicitly, all accepted modifiers
from the GSM alphabet will be saved in the number string.
The <type> parameter will be set to 209 (ASCII). Limitations
as listed below for <type> 209 apply.
- A <number> saved with parameter <type>= 209 requires
double memory. In order to fit into a standard location, the
number needs to be reduced to a maximum length of
<nlength>/2, inluding all digits and dial string modifier(s). Ex-
tended locations may be used as stated below for parame-
ter <nlength>