6. Data - GPRS

6.1 AT+CGACT PDP Context Activate or Deactivate

Description

Command

Possible Responses

 

 

 

 

Activate or deactivate

+CGACT=[<state>

+CME ERROR: <err>

the specified PDP

[,<cid>[,<cid>[,…]]]]

OK

context(s)

 

• ERROR

 

 

 

 

 

 

Show the current

+CGACT?

+CGACT: <cid>,

setting

 

 

<state>[<CR><LF>

 

 

 

+CGACT: <cid>,

 

 

 

<state>[...]]

 

 

• OK

 

 

• ERROR

Show if the command

+CGACT=?

+CGACT: (list of

is supported

 

 

supported <state>s)

• OK

• ERROR

Used to activate or deactivate the specified PDP context(s).

After the command has completed, the MS remains in V.250 command state. If the MS is already in the requested state, the command is ignored and OK is returned. If the requested state cannot be achieved, ERROR or +CME: ERROR is returned. If the MS is not attached to the GPRS service when the activation form of the command is executed, the MS first performs a GPRS attach and then attempts to activate the specific contexts.

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

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

<state>

Description

 

 

0

PDP context activation deactivated

 

 

1

PDP context activation activated

 

 

 

 

<cid>

Description

 

 

Integer type

A numeric parameter which specifies a specific PDP

 

context definition

 

 

157

LZT 123 7263 R1C

Page 157
Image 157
Sony Ericsson GM47, GM48 manual Data Gprs, AT+CGACT PDP Context Activate or Deactivate, +Cgact?, +Cgact=?