HUAWEI MG323 GSM M2M Module

 

AT Command Interface Specification

Commands for Data Services

AT+CGACT? +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+CGACT?

+CGACT:1,1

OK

9.2AT+CGATT - Command for Attaching the MT to or Detaching the MT from the GPRS Service

The AT+CGATT 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

AT+CGATT=?

command

 

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.

Issue 02 (2010-11-23)

Huawei Proprietary and Confidential

112

Copyright © Huawei Technologies Co., Ltd.

 

 

Page 129
Image 129
Huawei MG323 manual Checking the Supported Gprs Service State, AT+CGACT? +CGACT 1,0, AT+CGACT=1,1, At+Cgact?