beautypg.com

Gprs at commands in accordance with gsm 07.07, Commands specific to mts supporting gprs, At+cgatt gprs attach and detach – Siemens MC35 User Manual

Page 142: 1 commands specific to mts supporting gprs, 1 at+cgatt gprs attach and detach

background image

AT Command Set

MC35_ATC_01_V03.02

Page 142 of 228

13.03.2002

6 GPRS AT commands in accordance with GSM 07.07

This chapter provides GPRS specific AT commands. For information on using GPRS commands in
multiplex mode see chapter 4.24.

6.1 Commands specific to MTs supporting GPRS

This clause defines commands that a TE (Terminal Equipment, i.e. an application running on a con-
trolling PC) may use to control a GPRS MT (Mobile Termination, the Wireless Module). Refer ro
Chapter 6.4 for selected examples of using GPRS AT commands.

6.1.1 AT+CGATT GPRS attach and detach

Test command

AT+CGATT=?

The test command is used for requesting information on the supported GPRS
service states.

Response

+CGATT: (list of supported s)
OK/ERROR/+CME ERROR

Parameter

See write command

Read command

AT+CGATT?

The read command returns the current GPRS service state.

Response

+CGACT:
OK/ERROR/+CME ERROR

Parameter

See write command

Write command

AT+CGATT=
[]

The execution command enables the MT get attached to or detached from the
GPRS service. After the command has completed, the MT remains in V.25ter
command state. If the MT is already in the requested state, the command is ig-
nored and the OK response is returned. Any active PDP contexts will be auto-
matically deactivated when the attachment state changes to detached.
If the MT is not able to attach for more than 5 minutes, the command returns an
error code, though the MT is still trying to attach.

Parameter

indicates the state of GPRS attachment
0 – detached
1 – attached

Response

OK/ERROR/+CME ERROR

Reference

GSM 07.07