Huawei MC509 Network Router User Manual


 
HUAWEI MC509 CDMA LGA Module
AT Command Interface Specification
Phonebook Interface Commands
Issue 01 (2011-08-26)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
110
<type>: Specifies the number type. The value ranges from 128 to 255. 145 indicates
an international number, and 129 indicates a national number. For details, see
section 15.5 "Phone Number Type." When the first character in the read phone
number is +, <type> is set to 145 automatically.
<text>: A string with double quotation marks, specifying a name. When <coding> is
set to 1, it indicates that <text> is the hex text of original data.
<coding>: Specifies the encoding format, indicating the character code of the <text>
field, and the language. The values are as follows:
1: RAW mode (<text> is uploaded in the original data format.)
2: ASCII (<text> is uploaded in the original keyboard value.)
<nlength>: An integer, specifying the maximum length of a phone number. When the
memory is "SM", the maximum value depends on the R-UIM card. When the memory
is "ME", the maximum value is 40.
<tlength>: An integer, specifying the maximum length of a name. When the memory
is "SM", the maximum value depends on the R-UIM card. When the memory is "ME",
the maximum value is 90.
9.3 ^CPBWCommand for Writing Entries to the
Phonebook
9.3.1 Syntax
Command
Possible Response(s)
^CPBW[=<index>][,<number>
[,<type>[,<text>,<coding>]]]
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR:<err><CR><LF>
^CPBW=?
<CR><LF>^CPBW:(supported <index>
list),<nlength>,(supported <type>
list),<tlength><CR><LF>
<CR><LF>OK<CR><LF>
In case of an MT-related error:
<CR><LF>+CME ERROR:<err><CR><LF>
9.3.2 Interface Description
This command stores phonebook entries in the position specified by the currently
selected phonebook memory <index>. If <index> is omitted, but <number> is
contained in the parameter, the phonebook entry is stored in the first blank position of
the phonebook. If there is no blank position, "+CME ERROR: memory full" is reported.
The position range of the currently selected phonebook memory, maximum length of
the <number> field, all values of the <type> field, and maximum length of the <text>
field are returned when the test command is executed.