Download Cellular Engine Siemens M20 / M20 Terminal

Transcript
Siemens Information and Communication Products
AT command interface
AT+CPBW
Write phonebook entry
Test command
Response
AT+CPBW=?
TA returns location range supported by the current storage, the maximum length of
<number> field, supported number formats of the storage, and the maximum length of
<text> field.
Note: the lengths may not be available in case of SIM storage. If storage does not offer
format information, the format list should be empty parenthesis.
+CPBW: (list of supported <index>s), <nlength>, (list of supported <typ>s), <tlength> OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
see execute command
Execute command
Response
AT+CPBW =
[<index>],
[<number>,
[<type>,
[<text>]]]
TA writes phonebook entry in location number <index> in the current phonebook memory
storage selected with +CPBS. Entry fields written are phone number <number> (in the
format <type>) and text <text> associated with the number. If these fields are omitted,
phonebook entry is deleted. If <index> is left out, but <number> is given, entry is written
to the first free location in the phonebook. The string <number> may also contain letters,
these are stored as capitals.
Note: PIN2 is necessary for writing in FD phonebook.
OK
If error is related to ME functionality:
+CME ERROR: <err>
Parameter
max. length of phone number
max. length of text for number
location number
phone number
type of number; e.g. 145 when dialling string includes international access
code character "+", otherwise 129
<text>
text for phone number
Note: the following characters in <text> must be entered via the escape sequence:
GSM char.
Seq.
Seq.(hex)
Note
\
\5C
5C
35 43
(backslash)
"
\22
5C
32 32
(string delimiter)
BSP
\08
5C
30 38
(backspace)
NULL
\00
5C
30 30
(GSM null)
'0' (GSM null) may cause problems on application level when using the
function (strlen) and should thus be represented by an escape sequence when necessary
<nlength>
<tlength>
<index>
<number>
<type>
Reference
Note
GSM 07.07
A
Version 5 dated 01.03.99
75