Moxa Technologies G2150I Carrying Case User Manual


 
OnCell G2150I AT Command Set GPRS Commands
10-9
Enter Data State: +CGDATA
Description: This command causes the MT to perform the necessary actions to set up
communication between the TE and the network. This may include performing a GPRS attach and
one PDP context activation. If the <cid> value is not defined to the MT, it will return an ERROR
or +CME ERROR response. Otherwise, the MT 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 MT attempts to activate the context
with available information. The other context parameters are 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 MT returns the final result code OK. In case of
abnormal termination or start up, the V.25ter command state is re-entered and the MT 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.
Notes:
y This command has the same effects than ATD*99***.
y If a GPRS PPP session is already running, the setting of a CSD (GSM data call) is not
supported.
Command syntax:
Command Possible responses
AT+CGDATA=[<cid>] CONNECT ERROR
AT+CGDATA=? +CGDATA: OK
AT+CGDATA=? +CGDATA: OK
AT +CGDATA=1 CONNECT
Defined values: <cid>: a numeric parameter that specifies a particular PDP context definition.
GPRS Mobile Station Class: +CGCLASS
Description: The set command is used to set the MT to operate according to the specified GPRS
mobile class. If the requested class is not supported, an ERROR or +CME ERROR response is
returned. The read command returns the current GPRS mobile class. The test command is used for
requesting information on the supported GPRS mobile classes.
Command syntax:
Command Possible responses
AT+CGCLASS= [<class>] OK
ERROR
AT+CGCLASS? +CGCLASS: <class>
OK
AT+CGCLASS=? +CGCLASS: (list of supported <class>s) OK
AT +CGCLASS=“CG”
Note: Enter GPRS class C mode
OK
AT +CGCLASS=“CC”
Note: Enter GSM mode
OK
AT +CGCLASS=“A”
Note: Chosen class not supported.
+CME ERROR: 150