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. 112
AT+C GAC T?
+CGACT: 1,0
OK
Example 2:
Set to activate the PDP context.
AT+CGACT=1,1
OK
Read the activation state of the PDP context.
AT+C GAC T?
+CGACT:1,1
OK
9.2 AT+CGATT - Command for Attaching the MT to or Detaching the MT from the GPRS Service
The AT+C GATT command attaches the MT to the GPRS service or detaches the MT
from the GPRS service. After this command is successfully executed, the MT
remains in V.250 command state. If the MT is in request state, this command is
ignored and OK is returned. When the attachment state is changed to the
detachment state, all PDP contexts are deactivated automatically.

9.2.1 Checking the Supported GPRS Service State

Test
command
AT+CGATT=?
Function Checks the supported GPRS service state.
Response z In case of successful execution:
<CR><LF>+CGATT: (list of supported <state>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: <CR><LF>+CME ERROR:
<err><CR><LF>
Parameter description
<state>: character type parameter, which indicates the GPRS attachment state.