Chapter 3: AT Commands Reference
April 15, 2008 G24-L AT Commands Reference Manual 3-231
+CGCLASS, GPRS Mobile Station Class
This command is used to set the G24-L to operate according to the specified GPRS mobile class.
If the requested class is not supported, an ERROR or +CME ERROR response is returned.
Extended error responses are enabled by the +CMEE command.
Note: Issuing GPRS actions over a poor-quality connection may cause protocol errors and harm
data validity. To prevent these problems, G24-L is equipped with a protection mechanism
that confirms GPRS signal strength before issuing GPRS network-related commands.
The following table shows the +CGCLASS parameters.
Example
AT+CGCLASS=?
+CGCLASS: (B)
OK
Note: If a SIM card without GPRS allowance is used:
AT+CGCLASS=?
+CGCLASS: (CC)
//Note that CC is a not supported value.
Command
Type Syntax Response/Action Remarks
Read
AT +CGCLASS? +CGCLASS: <class>
OK
or:
+CME ERROR: <err>
The Read command returns the current
GPRS mobile class.
Test
AT +CGCLASS=? +CGCLASS: (list of
supported <class>s)
OK
or;
+CME ERROR: <err>
The Test command is used for requesting
information on the supported GPRS
mobile classes.
Table 3-152: +CGCLASS Parameters
<Parameter> Description
<class> String parameter that indicates the GPRS
mobile class:
B Class B