GPRS

 

 

 

 

Command Type

Syntax

Response/Action

Remarks

 

 

 

 

 

 

 

 

Set

AT+CGATT=

OK

The Set command

 

[<state>]

or:

attaches/detaches the

 

 

+CME ERROR: <err>

ME to/from the GPRS

 

 

service.

 

 

 

 

 

 

 

Read

AT+CGATT?

+CGATT: <state>

The Read command

 

 

OK

returns the current

 

 

or:

GPRS service state.

 

 

 

 

 

+CME ERROR: <err>

 

 

 

 

 

Test

AT+CGATT=?

+CGATT: (list of supported <state>s)

The Test command

 

 

OK

requests information on

 

 

or:

the supported GPRS

 

 

service states.

 

 

+CME ERROR: <err>

 

 

 

 

 

 

 

 

 

 

 

Note: This command has the characteristics of both the V.25ter action and parameter commands. Therefore, it has the Read form in addition to the Execution/Set and Test forms.

The following table shows the +CGATT parameters.

Table 3-156: +CGATT Parameters

 

 

 

<Parameter>

 

Description

 

 

 

 

<state>

Indicates the state of the GPRS attachment:

 

0

Detached.

 

1

Attached.

 

 

 

 

 

 

Example

AT+CGATT=? +CGATT: (0,1)

OK AT+CGATT? +CGATT: 0

OK AT+CGATT=0

OK

+CGPADDR, Show PDP Address

The execution command returns a list of PDP addresses for the specified context identifiers.

3-238

G24-L AT Commands Reference Manual

April 15, 2008

Page 302
Image 302
PIONEERPOS G24-LC manual +CGPADDR, Show PDP Address, 156 +CGATT Parameters