At+cgact pdp context activate or deactivate, 2 at+cgact pdp context activate or deactivate – Siemens MC35 User Manual

Page 143

Advertising
background image

AT Command Set

MC35_ATC_01_V03.02

Page 143 of 228

13.03.2002

6.1.2 AT+CGACT PDP context activate or deactivate

Test command

AT+CGACT=?

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

Response

+CGACT: (list of supported <state>s)
OK/ERROR/+CME ERROR

Parameter

<state>

See write command

Read command

AT+CGACT?

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

Response

+CGACT: <cid>, <state> [<CR><LF>+CGACT: <cid>, <state>...]
OK/ERROR/+CME ERROR

Parameter

<cid>

See write command

<state>

See write command

Write command

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

This command is used to activate or deactivate the specified PDP con-
text(s). After the command has completed, the MT remains in V.25ter com-
mand state. If any PDP context is already in the requested state, the state
for that context remains unchanged. 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 contexts. If no
<cid>s are specified the activation/deactivation form of the command acti-
vates/deactivates all defined contexts.

Response

OK/ERROR/+CME ERROR

Parameter

<state>

indicates the state of PDP context activation
0 – deactivated
1 – activated

<cid>

PDP Context Identifier is a numeric parameter which
specifies a particular PDP context definition. The pa-
rameter is local to the TE-MT interface and is used in
other PDP context-related commands.
Note: The range of supported cids is returned by
AT+CGDCONT=?

Response

+CGACT: (list of supported <state>s)
OK/ERROR/+CME ERROR

Reference

GSM 07.07

Note

Please note that the execution of ATH deactivates any PDP context (see
Chapters 2.12, 4.14, 6.3.2)

Advertising