Siemens AT Command Set Cellular Engines Wireless Modules MC35 ユーザーズマニュアル

ページ / 238
AT Command Set
MC35_ATC_01_V04.00
Page 168 of 238
02.04.2002
All parameters of the QoS are initiated by default to the "network subscribed value (= 0)" but the QoS
itself is set to be undefined. To define a QoS use the AT+CGQREQ or AT+CGQMIN command.
Examples:
AT+CGQREQ=1,2
OK
// overwrites the precedence class of QoS of CID 1 and sets
// the QoS of CID 1 to be present
A following read command will response
AT+CGQREQ?
+CGQREQ: 1,2,0,0,0,0
OK
// all QoS values of CID 1 are set to network subscribed
// except precedence class which is set to 2
AT+CGQREQ=1
OK
// set the QoS of CID 1 to not present
Once defined, the CID it can be activated. To activate a CID use
AT+CGACT=1,2
OK
// activate CID 2
If the CID is already active, the mobile responses OK at once.
If no CID is given, all defined CIDs will be activated by
AT+CGACT=
// NO CID and NO STATE given
OK
// all defined CIDs will be activated
If no CID is defined the mobile responses +CME ERROR: invalid index
Remark: If the mobile is NOT attached by AT+CGATT=1 before activating, the attach is automatically
done by the AT+CGACT command.
After defining and activating a CID it may be used to get online by
AT+CGDATA=PPP,1
CONNECT
// the mobile is connected using the parameters of CID 1
AT+CDATA=
CONNECT
// the mobile is connected using default parameter
The mobile supports Layer 2 Protocol (L2P) PPP only.
Remark: If the mobile is NOT attached by AT+CGATT=1 and the CID is NOT activated before con-
necting, attaching and activating is automatically done by the AT+CGDATA command.
Some providers (e.g. D2 or E-Plus) require to use an APN to establish a GPRS connection. So if you
use the Microsoft Windows Dial-Up Network and ATD*9... to connect to GPRS you must provide the
context definition as part of the modem definition (Modem properties/Connection/Advanced.../Extra
settings). As an alternative, you can define and activate the context in a terminal program (e.g. Micro-
soft Hyperterminal) and then use the Dial-Up Network to send only the ATD command.