Chapter 15 – GPRS Commands
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I) 157
Enter Data State +CGDATA
Description: The command causes the modem to perform the necessary actions to set up communication between
the DTE and the network. This may include performing a GPRS attach and one PDP context activation.
If the <cid> value is not defined to the modem, the modem will return an ERROR or +CME ERROR
response. Otherwise, the modem issues the intermediate result code CONNECT and enters V.25ter
online data state.
GPRS attachment and PDP context activation procedures may take place prior to or during the PDP
startup if they have not already been performed using the +CGATT and +CGACT commands.
If no <cid> is given, the modem attempts to activate the context with whatever information is available to
the modem. The other context parameters is set to their default values (No APN, default QOS
parameters, dynamic IP address requested).
If the activation is successful, data transfer may proceed.
After data transfer and layer 2 protocol termination procedure completion, the V.25ter command state is
re-entered and the modem returns the final result code OK.
In case of an abnormal termination or start up, the V.25ter command state is re-entered and the modem
returns the final result code NO CARRIER or, if enabled, +CME ERROR. Attach, activate and other
errors may be reported.
This command may be used in both normal and modem compatibility modes.
Note: The goal of this command is the same than ATD*99***.
Note: If a GPRS PPP session is already running, the setting of a CSD (GSM data call) is not supported.
Values: <cid> A numeric parameter which specifies a particular PDP context definition.
Syntax: Command Syntax: AT+CGDATA
Command Possible Response(s)
AT+CGDATA=[<cid>] CONNECT
ERROR
AT+CGDATA=? +CGDATA:
OK
AT+CGDATA=? +CGDATA:
OK
AT+CGDATA=1 CONNECT