Reading The Status Of The Pdp Context; Setting The Status Of The Pdp Context; Examples - 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.5.2 Reading the Status of the PDP Context

Read
command
Function
Response

9.5.3 Setting the Status of the PDP Context

Write
command
Function
Response

9.5.4 Examples

Example:
Define the PDP context.
AT+CGDCONT=1,"IP","1234"
OK
Query the defined PDP context.
AT+CGDCONT?
+CGDCONT:1,"IP","1234","",0,0
OK
Issue 02 (2010-11-23)
AT+CGDCONT?
Reads the status of the PDP context.
In case of successful execution:
[<CR><LF>+CGDCONT:<cid>,<PDP_type>,<APN>,<PDP_addr>,<d
_comp>,<h_comp>
[<CR><LF>+CGDCONT: ...<CR><LF>]]<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: <CR><LF>+CME ERROR:
<err><CR><LF>
AT+CGDCONT=[<cid>[,<PDP_type>[,<APN>[,<PDP_addr>]]]]
Sets the status of the PDP context.
In case of successful execution: <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
120

Advertisement

Table of Contents
loading

Table of Contents