Huawei MG323 Recording Equipment User Manual


 
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.
110
9 Commands for Data Services
This chapter describes the AT commands that set and operate data services.
9.1 AT+CGACT - Command for Activating or Deactivating
the PDP Context
After AT+CGACT (command for activating or deactivating the PDP context) is
successfully executed, the MT remains in V.250 command state. If the PDP context is
in request state, the state remains unchanged. When the activation form of this
command is executed, if the MT has not been attached to the GPRS, the MT must
perform GPRS attachment before attempting to activate the specified PDP context. If
<cid> is not specified, all PDP contexts are activated or deactivated.
9.1.1 Querying the Supported Status of PDP Context
Test
command
AT+CGACT=?
Function
Queries the supported status of PDP context.
Response
z
In case of successful execution:
<CR><LF>+CGACT: (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>: numeric parameter, which indicates the activation state of the PDP context.
0: deactivation
1: activation