Huawei MG323 Recording Equipment User Manual


 
HUAWEI MG323 GSM M2M Module
AT Command Interface Specification Commands for Data Services
Issue 02 (2010-11-23)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
121
9.6 AT+CGPADDR - Command for Reading the PDP
Address
The AT+CGPADDR command reads the PDP address. This command can return the
PDP address list of the specified PDP context identification <cid>. If <cid> is omitted,
the addresses of all defined PDP contexts are returned.
9.6.1 Querying the Supported PDP Index Value
Test
command
AT+CGPADDR=?
Function
Checks the parameter range supported by this command.
Response
z
In case of successful execution:
[<CR><LF>+CGPADDR: (list of supported <cid>s) <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 during command execution:
<CR><LF>+CME ERROR: <err><CR><LF>
Parameter description
<cid>: numeric parameter, which indicates the index value of the PDP context; value
range: 1–3. Other commands related to the PDP context can invoke the saved
settings through this index value. For a TE-MT interface, this parameter is local and
can be used for other commands related to the PDP context.
<PDP_addr>: character type parameter, which indicates the PDP address. The PDP
address can be a static or dynamic address.
9.6.2 Reading the PDP Address List of the Specified PDP Context
This command reads the PDP address list of the specified PDP context.
Write
command
AT+CGPADDR=[<cid>[,<cid>]]
Function
Reads the PDP address list of the specified PDP context.
Response
z
In case of successful execution:
[<CR><LF>+CGPADDR: <cid>,<PDP_address><CR><LF>
[<CR><LF>+CGPADDR: <cid>,<PDP_address><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 during command execution:
<CR><LF>+CME ERROR: <err><CR><LF>