Chapter 3: AT Commands Reference

+CGACT, PDP Context Activate or Deactivate

This command activates/deactivates the specified PDP context(s).

 

 

 

 

Command

 

 

 

Type

Syntax

Response/Action

Remarks

 

 

 

 

 

 

 

 

Set

AT+CGACT=[<state>

OK

The Set command

 

[,<cid>

or:

activates/deactivates the specified PDP

 

[,<cid>[,]]]]

NO CARRIER

context(s). When the command is

 

 

completed, the ME remains in V.25

 

 

or:

 

 

command state. If any PDP context is

 

 

+CME ERROR: <err>

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 command. If

 

 

 

the ME is not GPRS-attached when the

 

 

 

activation form of the command is

 

 

 

executed, the ME first performs a

 

 

 

GPRS attach and them attempts to

 

 

 

activate the specified contexts. If the

 

 

 

attach fails, the ME responds with an

 

 

 

ERROR or, if extended error responses

 

 

 

are enabled, with the appropriate

 

 

 

failure-to-attach error message.

 

 

 

 

Read

AT+CGACT?

+CGACT: <cid>,

The Read command returns the current

 

 

<state>

activation states for all the defined

 

 

<CR><LF>+CGACT:

PDP contexts.

 

 

<cid>, <state>

 

 

 

<CR><LF>+CGACT:

 

 

 

<cid>, <state>

 

 

 

OK

 

 

 

 

 

Test

AT+CGACT=?

+CGACT: (list of

The Test command requests

 

 

supported <state>s)

informaton on the supported PDP

 

 

OK

context activation states.

 

 

or:

 

 

 

+CME ERROR: <err>

 

 

 

 

 

 

 

 

 

The following table shows the +CGACT parameters.

 

 

Table 3-161: +CGACT Parameters

 

 

 

<Parameter>

 

Description

 

 

 

 

<state>

Indicates the activation state of the context:

 

0

Non-active

 

1

Active

 

 

 

<cid>

1-3

A numeric parameter that specifies a particular PDP context definition

 

 

 

 

 

 

April 15, 2008

G24-L AT Commands Reference Manual

3-245

Page 309
Image 309
PIONEERPOS G24-LC manual +CGACT, PDP Context Activate or Deactivate, 161 +CGACT Parameters