beautypg.com

At+cpbw write phonebook entry, 30 at+cpbw write phonebook entry – Siemens MC35 User Manual

Page 94

background image

AT Command Set

MC35_ATC_01_V03.02

Page 94 of 228

13.03.2002

4.30 AT+CPBW Write phonebook entry

Test command

AT+CPBW=?

Response

TA returns location range supported by the current storage, the maximum
length of field, supported number formats of the storage and the
maximum length of 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.

+CPBW:

(list of supported s), , (list of supported s),

OK
If error is related to ME functionality:
+CME ERROR:

Parameter

See write command.

Write command

AT+CPBW=
[]
[,
[[,]
[,]]]

This command writes a phonebook entry to the memory location of the
active memory.
The memory location number is followed by the phone number ber> (in the format ) and the associated .
If writing fails, an ME error +CME ERROR: is returned.

Parameter

Location number within phonebook memory, total range is given
in test command response

Phone number, maximum length is given as in test
command response

Type of phone number (address octet in integer format); 145 when
dialling string includes international access code character “+”,
otherwise 129 (refer GSM 04.08 subclause 10.5.4.7)

Text assigned to the phone number, maximum length is given in
test command response . Character set as specified with
+CSCS. See note below.

Max. length of phone number, normally 20, for a small number of
locations 40

Max. length of text assigned to phone number (depending on
storage type 16 - 18 characters including blanks)

Response

OK/ERROR/+CME ERROR

To delete a phonebook entry simply enter the location number:
AT+CPBW=

To write a phonebook entry to the first free location number:
AT+CPBW=,,,

Reference

GSM 07.07

Note

If contains characters which are coded differently in ASCII and GSM
(e.g. Д, Ц, Ь), these characters have to be entered via escape sequences as
described in chapter “Supported character sets“, pg. 11.