Cgact – pdp context activate or deactivate – Westermo GDW-11 User Manual

Page 223

Advertising
background image

GPRS commands 223

6615-2220

+CGACT – PDP context activate or deactivate

Description:

The execution command is used to activate or deactivate the specified PDP context(s).
After the command has completed, the MT remains in V.25ter command state. If any PDP
context is already in the requested state, the state for that context remains unchanged.

If the requested state for any specified context cannot be achieved, an ERROR or +CME
ERROR response is returned. Extended error responses are enabled by the +CMEE com-
mand.

If the MT is not GPRS attached when the activation form of the command is executed,
the MT first performs a GPRS attach and them attempts to activate the specified con-
texts. If the attach fails then the MT responds with ERROR or, if extended error respons-
es are enabled, with the appropriate failure-to-attach error message.

If no <cid>s are specified the activation form of the command activates the first possible
within the defined contexts.

If no <cid>s are specified the deactivation form of the command deactivates all active
contexts.

One PDP contexts can be activated through WESTERMO software at the same time.

The read command returns the current activation states for all the defined PDP contexts.

The test command is used for requesting information on the supported PDP context
activation states.

Syntax:

AT+CGACT=[<state> [,<cid>[,<cid>[,. . .]]]]

Response Syntax:

AT+CGACT?
+CGACT: <cid>, <state> [<CR><LF>+CGACT: <cid>, <state> [. . .]]
AT+CGACT=?
+CGACT: (list of supported <state>s)

Parameters:

<state>

Indicates the state of PDP context activation

0: deactivated
1: activated

Other values are reserved and will result in an ERROR response to the execution
command.

<cid>

A numeric parameter which specifies a particular PDP context.

Before the activation of the context, the MT has to attach itself to the GPRS network if
necessary.

Advertising
This manual is related to the following products: