GM29 INTEGRATOR’S MANUAL

6.2 AT+CGATT GPRS Attach or Detach

Description

Command

Possible Responses

 

 

 

 

Attach or detach MS

+CGATT=[<state>]

+CME ERROR: <err>

to the GPRS/packet

 

OK

domain/packet

 

• ERROR

domain service

 

 

 

 

Read the command

+CGATT?

• +CGATT: <state>

 

 

• OK

 

 

• ERROR

Test if the command is

+CGATT=?

+CGATT: (list of

supported

 

 

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)”, page 57.

Any active PDP contexts will be automatically deactivated when the attachment state changes to detached.

Note! 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

0Detached

1Attached

110

LZT 123 7361 R1A

Page 110
Image 110
Standard Horizon GM29 manual AT+CGATT Gprs Attach or Detach, +Cgatt?, +Cgatt=?