Rainbow Electronics FARGO MAESTRO 100 (with TCP_IP) User Manual

Page 290

Advertising
background image


GPRS Commands

PDP Context Activate or Deactivate +CGACT

©Restricted

Page:

100 / 156

This document is the sole and exclusive property of Wavecom. Not to be distributed or divulged without
prior written agreement.

WM_DEV_OAT_UGD_049 - 001

VOLUME 2

August 23, 2007

14.5.3

Parameters and Defined Values

<state>:

state of PDP context activation

0 deactivated

1 activated

<cid>:

PDP context identifier

range: 1-4

integer type

14.5.4

Parameter Storage

None.

14.5.5

Examples

Command

Responses

AT+CGDCONT=1,"IP","APN"

OK

AT+CGACT=1,1

OK

AT+CGACT?

+CGACT: 1,1

OK

AT+CGACT=?

+CGACT: (0-1)

OK

AT+CGACT=0

Note: deactivate all contexts

OK

AT+CGACT=1

Note: activate first possible context

OK

14.5.6

Notes

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

if necessary.

If a GPRS PPP session is already running, the setting of a CSD (GSM data call) is not

supported.

If the MT is not GPRS attached when the activation form of the command is

executed, the MT first performs a GPRS attach and then attempts to activate the
specified contexts. If the attach fails, then the MT responds with ERROR. Or if

extended error responses 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.

Advertising