Westermo GD-01 User Manual
Page 160

160
6196-2220
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 MT is GPRS attached when the set command is issued with a
CC specified, a GPRS detach request is sent to the network.
If the MT 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 by the current GPRS software.
Remark: During switch-On in CG class, the MS always performs an automatic GPRS
attach (the ATTACH-STATUS parameter of +WGPRS is ignored). But if the MS
is not already GPRS attached when switching from B/CC class to CG class
then no automatic GPRS attach is performed.
Command example
Possible responses
Note
AT +CGCLASS=”CG”
OK
To go in GPRS class C
mode
AT +CGCLASS=”CC”
OK
To go in GSM mode
AT +CGCLASS=”A”
+CME ERROR: 150
Class chosen not
supported.
AT+CGCLASS=?
+CGCLASS: ("CG","CC")
OK
AT+CGCLASS?
+CGCLASS: "CC"
OK
AT+CGCLASS?
+CGCLASS: “B”
About the remark above:
OK
AT+CGATT?
+CGATT: 0
Not attached
OK
AT+CGCLASS=”CG”
OK
Set to CG class
AT+CGATT?
+CGATT: 0
Still not attached
OK
AT+CGATT=1
OK
AT+CPOF
OK
Turn OFF the unit
AT+CFUN=1
OK
Turn ON
AT+CGCLASS?
+CGCLASS: “CG”
Check what class,
result: CG
OK
AT+CGATT?
+CGATT: 1
Check if attached, result
yes we are (directly after
OK
power on)
B A C K