Föräldramötesprotokoll 20131014

advertisement
AT command set for S45 Siemens mobile phones and modems
_________________________________________________________________________________________
2.3.4.11
AT+CPBW
AT+CPBW
Write a telephone-book entry
Test command
Response
AT+CPBW=?
+CPBW: (list of supported <index>s), <nlength>,(list of supported
<type>s), <tlength>
OK/ERROR/+CME ERROR
Parameter
<index>
<nlength>
<tlength>
Location number
Max. length of telephone number
Max. length of text corresponding to the number
Write command
AT+CPBW=[<index>][,<nummer>[,<typ>[,<text>]]]
Parameter
Ö
Location number at
which the entry is written
Telephone number
Type of number
Text corresponding to the telephone
number
The following characters in <text>
must be entered via the Siemensspecific escape sequence (see also
Appendix A: “Using special characters
in certain commands ( e. g.,
+CPBR/+CPBW”)
Hex char ASCII 3 byte Esc Seq Note
(hex)
x5C
\
x5C x35 x43
Backslash
"
x22
<index>
<nummer>
<typ>
<text>
GSM Char
“
x5C x32 x32
String
delim
ò
x08
BSP
x5C x30 x38
Backspace
@
x00
NULL x5C x30 x30
GSM Null
GSM=0x00 may cause problems on application level when
using the function strlen() and should thus be represented
by an escape sequence
Response
OK/ERROR/+CME ERROR
__________________________________________________________________________________________
Siemens Document No.: A30880-A10-A001-3-D376
Revision:
1.8
Revision Date:
30. November, 2001
40
Download