2 at+cgatt gprs attach or detach – Sony Ericsson TT4031 (SE-GM29) User Manual

Page 115

Advertising
background image

Owner’s Manual

Rev 1.0

Page 115 of 115

Integer type

A numeric parameter which specifies a specific PDP

context definition

6.2 AT+CGATT GPRS Attach or Detach

Description Command Possible

Responses

Attach or detach MS to

the GPRS/packet

domain/packet domain

service

+CGATT=[<state>]

•_ +CME ERROR: <err>
•_ OK
•_ ERROR

Read the command

+CGATT?

•_ +CGATT: <state>
•_ OK
•_ ERROR

Test if the command is

supported

+CGATT=?

•_ +CGATT: (list of

supported <state>s)

•_ OK
•_ ERROR


Used to attach the MS to, or detach the MS from, the GPRS/packet domain

service. 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 the OK response is returned. If the requested state cannot be

achieved, an ERROR or +CME ERROR response is returned. Extended error

responses (enabled by the +CMEE command) are listed under “+CME ERROR

(Mobile Equipment Error Code)”.
Any active PDP contexts will be automatically deactivated when the

attachment state changes to detached.

This command has the characteristics of both the V.250

action and parameter commands. Hence it has the read

form in addition to the execution/set and test forms.

<state> Description

0

Detached

1 Attached

Note!_

Advertising