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.
184
13
Commands for the Phone Book
This chapter describes the AT commands that can perform operations on the phone
book.
13.1 AT+CPBR - Command for Reading the Phone Book
The
AT+CPBR
command reads the phone book.
13.1.1 Checking the Parameter Range Supported by the +CPBR
Command
Test
command
AT+CPBR=?
Function
Checks the available phone book indexes and the supported length of
phone number and name.
Response
z
In case of successful execution:
<CR><LF>+CPBR: (list of
supported<index>s),[<nlength>],[<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>, <index1>, <index2>: integer, which indicates the location in the phone book
memory. The values of
index1
and
index2
cannot be larger than the maximum index
of the phone book, that is, 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.