Reading The Activation State Of The Pdp Context; Setting The Activation State 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.1.2 Reading the Activation State of the PDP Context

Read
command
Function
Response
Parameter description
<cid>: numeric parameter; value range: 1–3; this parameter indicates the PDP
context identification. For a TE-MT interface, this parameter is local and can be used
for other commands related to the PDP context.

9.1.3 Setting the Activation State of the PDP Context

Write
command
Function
Response
Note:

9.1.4 Examples

Example 1:
Define the PDP context.
AT+CGDCONT=1,"IP","1234"
OK
Read the activation state of the PDP context.
Issue 02 (2010-11-23)
AT+CGACT?
Reads the activation state of the specified PDP context.
In case of successful execution:
[<CR><LF>+CGACT:<cid><state><CR><LF>
[<CR><LF>+CGACT:<cid><state><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+CGACT=[<state>[,<cid>[,<cid>]]]
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: <CR><LF>+CME
ERROR: <err><CR><LF>
To hang up the dialing of a data service through AT commands, first send AT+CGACT to
deactivate the PDP context, and then send ATH to hang up the data service.
In this section, AT+CGACT= is equivalent to AT+CGACT=1 (<state>=1).
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Commands for Data Services
111

Advertisement

Table of Contents
loading

Table of Contents