![Huawei MG323 Скачать руководство пользователя страница 203](http://html.mh-extra.com/html/huawei/mg323/mg323_at-command-interface-specification_167893203.webp)
HUAWEI MG323 GSM M2M Module
AT Command Interface Specification
Commands for the Phone Book
Issue 02 (2010-11-23)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
186
+CPBR: 10,“13903702895”,“129”
+CPBR: 11,“13903702873”,“129”
+CPBR: 12,“13903702856”,“129”
+CPBR: 13,“13903702803”,“129”
OK
13.2 AT+CPBW - Command for Writing the Phone Book
The
AT+CPBW
command writes a phone book record to the currently selected
location that is specified by the index in the phone book memory. If the command
parameter contains only the
index
field, the phone book record at the location
specified by the
index
field is deleted. If the
index
field is omitted but the parameter
contains the
number
field, the phone book record is written to the first empty location.
13.2.1 Checking the Parameter Range Supported by This
Command
Test
command
AT+CPBW=?
Function
Queries the parameter range supported by this command.
Response
z
In case of successful execution:
<CR><LF>+CPBW: (list of supported <index>s),[<nlength>],(list of
supported <type>s),[<tlength>]<CR><LF><CR><LF>OK<CR><LF>
z
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
z
In case of an error related to the MT: <CR><LF>+CME ERROR:
<err><CR><LF>
Parameter description
<index>: integer value, which indicates the location in the phone book memory. The
value of
index
cannot be larger than the
total
field returned by the
AT+CPBS?
command.
<nlength>: integer, which indicates the maximum length of a phone number.
<tlength>: integer, which indicates the maximum length of the name field.