![Quectel UG Series Command Manual Download Page 159](http://html.mh-extra.com/html/quectel/ug-series/ug-series_command-manual_772151159.webp)
UMTS/HSPA Module Series
WCDMA UGxx AT Commands Manual
WCDMA_UGxx_AT_Commands_Manual Confidential / Released 158 / 247
Example
AT+CGDCONT=1,"IP","UNINET"
//Define PDP context
OK
AT+CGACT=1,1
//Activated
PDP
OK
AT+CGACT=0,1
//Deactivated
PDP
OK
10.8. AT+CGDATA Enter Data State
The AT+CGDATA write command causes the MT to perform whatever actions that are necessary to
establish communication between the TE and the network using one or more packet domain PDP types.
This may include per-forming a PS attach and one or more PDP context activations. Commands following
the AT+CGDATA command in the AT command line will not be processed by the MT.
If the
<L2P>
parameter value is unacceptable to the MT, the MT shall return an ERROR or +CME ERROR
response. Otherwise, the MT issues the intermediate result code CONNECT and enters V.250 online data
state. After data transfer is completed, and the layer 2 protocol termination procedure has been
completed successfully, the command state is reentered and the MT returns the final result code OK.
Other values are reserved and will result in an
ERROR
response to the Write Command
<cid>
A numeric parameter which specifies a particular PDP context definition (see
+CGDCONT
command)
AT+CGDATA Enter Data State
Test Command
AT+CGDATA=?
Response
+CGDATA:
(list of supported
<L2P>
s)
OK
Write Command
AT+
CGDATA=<L2P>[,<cid>[,<cid>[,…
]]]
Response
CONNECT
ERROR
If error is related to ME functionality:
+CME ERROR: <err>
Maximum Response Time
300ms
Reference
3GPP TS 27.007
Quectel
Confidential