Specifications

SIM900 AT Commands Set
SIM900_ATC_V1.01 73 23.06.2010
Response
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.
+CPBW: (list of supported <index>s), <nlength>, (list of supported
<type>s), <tlength>
OK
Test Command
AT+CPBW=?
Parameters
see Write Command
Response
TA writes phone book entry in location number <index> in the current
phone book memory storage selected with +CPBS. Entry fields written are
phone number <number> (in the format <type>) and text <text> associated
with the number. If those fields are omitted, phone book entry is deleted. If
<index> is left out, but <number> is given, entry is written to the first free
location in the phone book.
OK
Write Command
AT+CPBW=
<index1>
[, <number>,
[<type>, [<text>]]]
Parameters
<nlength> max. length of phone number
<tlength> max. length of text for number
<index> location number
<number> phone number
<type> type of number;
129 National number type(IDSN format
161 National number type(IDSN format)
145 International number type(ISDN format )
177 Network specific number(ISDN format)
<text> string type(string should be included in quotation marks):
text for phone number in current TE character set specified
by +CSCS.
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 for application layer
software when reading string lengths.
Reference
GSM 07.07 [13]
Note