Standard Horizon GM29 Data Gprs, AT+CGACT PDP Context Activate or Deactivate, +Cgact?, +Cgact=?

Models: GM29

1 266
Download 266 pages 35.21 Kb
Page 109
Image 109

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

 

 

 

 

 

Read the command

+CGACT?

• +CGACT: <cid>,

 

 

 

<state>[<CR><LF>

 

 

 

+CGACT: <cid>,

 

 

 

<state>[...]]

 

 

• OK

 

 

• ERROR

Test if the command is

+CGACT=?

+CGACT: (list of

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

 

 

109

LZT 123 7361 R1A

Page 109
Image 109
Standard Horizon GM29 manual Data Gprs, AT+CGACT PDP Context Activate or Deactivate, +Cgact?, +Cgact=?