beautypg.com

Gprs mobile station class +cgclass – Multi-Tech Systems MMCModem GPRS (MTMMC-G) User Manual

Page 158

background image

Chapter 15 – GPRS Commands

Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)

158

GPRS Mobile Station Class +CGCLASS

Description:

The set command is used to set the modem 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.

Values:

A string parameter which indicates the GPRS mobile class (in descending order of
functionality)

A

Class A (highest)

B Class

B

CG

Class C in GPRS only mode

CC

Class C in circuit switched only mode (lowest)

Other values are reserved and will result in an ERROR response to the set command.
If the modem is GPRS attached when the set command is issued with a = CC specified, a
GPRS detach request is sent to the network.
If the modem is GSM attached when the set command is issued with a = CG specified, a GSM
detach request is sent to the network.
Class A is not supported.

Note:

During switch-On in CG class, the modem always performs an automatic GPRS attach (the

ATTACH-STATUS parameter of +WGPRS is ignored). But if the modem is not already GPRS-
attached when switching from B/CC class to CG class, then no automatic GPRS attach is
performed.

Example of the Automatic Attachment (See Note Above):

AT+CGCLASS?
+CGCLASS: “B”
OK
AT+CGATT?
+CGATT: 0
OK
AT+CGCLASS=”CG”
OK
AT+CGATT?
+CGATT: 0
OK
AT+CGATT=1
OK
AT+CPOF
OK
AT+CFUN=1
OK
AT+CGCLASS?
+CGCLASS: “CG”
OK
AT+CGATT?
+CGATT: 1
OK

Syntax: Command

Syntax:

AT+CGCLASS

Command

Possible Response(s)

AT+CGCLASS= []

OK
ERROR

AT+CGCLASS? +CGCLASS:

OK

AT+CGCLASS=?

+CGCLASS: (list of supported s)
OK

AT+CGCLASS=”CG”
Note: Enter GPRS Class C
mode

OK

AT+CGCLASS=”CC”
Note: Enter GMS mode

OK

AT+CGCLASS=”A”
Note: Chosen class not
supported

+CME ERROR: 150

AT+CGCLASS=? +CGCLASS:

(“CG”,”CC”)

OK

AT+CGCLASS? +CGCLASS:

(“CC”)

OK

This manual is related to the following products: