At+Cgpaddr - Command For Reading The Pdp Address; Querying The Supported Pdp Index Value; Reading The Pdp Address List Of The Specified Pdp Context - Huawei MG323 At Command Interface Specification

Gsm m2m module
Hide thumbs Also See for MG323:
Table of Contents

Advertisement

HUAWEI MG323 GSM M2M Module
AT Command Interface Specification
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
Function
Response
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
Function
Response
Issue 02 (2010-11-23)
AT+CGPADDR=?
Checks the parameter range supported by this command.
In case of successful execution:
[<CR><LF>+CGPADDR: (list of supported <cid>s) <CR><LF>]
<CR><LF>OK<CR><LF>
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
In case of an error related to the MT during command execution:
<CR><LF>+CME ERROR: <err><CR><LF>
AT+CGPADDR=[<cid>[,<cid>]]
Reads the PDP address list of the specified PDP context.
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>
In case of an error during command execution:
<CR><LF>ERROR<CR><LF>
In case of an error related to the MT during command execution:
<CR><LF>+CME ERROR: <err><CR><LF>
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Commands for Data Services
121

Advertisement

Table of Contents
loading

Table of Contents