Cinterion
®
EHS6 AT Command Set
15.4 AT+CPBW
EHS6_ATC_V03.001 15/12/3
Confidential / Released
Page 386 of 513
15.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.
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 maximum <number> length may differ depending on USIM card, nevertheless <nlength> always
presents the maximum possible value. In case of exceeding available number length, "+CME ERROR: Memory
full" message is returned and the phonebook entry is not stored.
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".
However please note that entries containing *# codes cannot be stored together with international access code.
For example, a dial string such as *31#+48123456789 can be dialed only by using the ATD command.
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.
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 Last Reference(s)
+ + - 3GPP TS 27.007 [45],
3GPP TS 24.008 [40],
3GPP TS 11.11 [17], 3GPP TS
31.101 [18], 3GPP TS 31.102 [19]
<location>
(num)
<number>
(str)