BGS2T AT Command Set
16.4 AT+CPBW
BGS2T_ATC_V01.301 Page 491 of 554 1/31/12
c
16.4 AT+CPBW Write into Phonebook
The AT+CPBW write command can be used to create, edit and delete a phonebook entry at a <location> of
the active storage selected with AT+CPBS.
If <storage>="FD" (SIM fixed dialing numbers) is selected, PIN2 authentication has to be performed prior to
any write access.
The AT+CPBW test command returns the location range supported by the current storage, the maximum length
of the <number> field, the range of supported <type> values and the maximum length of the <text> field.
Note: The length may not be available while SIM storage is selected. If storage does not offer format information,
the format list contains empty parenthesizes.
Syntax
Parameter Description
Location number within phonebook memory. The maximum range supported by each storage type is indicated
in the test command response. If <location> is not given, the first free entry will be used.
If <location> is given as the only parameter, the phonebook entry specified by <location> is deleted.
Phone number in format specified by <type>. Parameter must be present, although it may be an empty string.
Alphabetic characters are not permitted. The <number> may contain dialstring modifiers "*", "#", "+" or "p".
If other printable non-alphabetic characters are used the entry needs to be saved with <type>=209. Otherwise,
if <type>=209 is not used any non-digit characters other than "*", "#", "+" or "p" will be removed from the string
and only accepted modifiers from the GSM alphabet will be saved.
A <number> saved with <type>=209 requires double memory. In order to fit into a standard location, the num-
ber needs to be reduced to a maximum length of <nlength>/2, including all digits and dial string modifiers.
Extended locations may be used as stated below for <nlength>.
Test Command
AT+CPBW=?
Response(s)
+CPBW: (1-<maxloc>), <nlength>, (list of supported <type>s), <tlength>
OK
ERROR
+CME ERROR: <err>
Write Command
AT+CPBW=[<location>][, <number>[[, <type>][, <text>]]]
Response(s)
OK
ERROR
+CME ERROR: <err>
PIN ASC0 MUX1 MUX2 MUX3 Last Reference(s)
+ + + + + - - 3GPP TS 27.007 [35],
3GPP TS 24.008 [32],
3GPP TS 11.11 [14]
<location>
(num)
<number>
(str)