Tc63 at command set – Siemens TC63 User Manual
Page 309
TC63 AT Command Set
11.22 Using GPRS AT commands (Examples)
s
TC63_ATC_V00.490
Page 309 of 501
5/24/05
Confidential / Draft - Do not copy
EXAMPLE 2
Quality of Service (QoS) is a special parameter of a CID which consists of several parameters itself.
The QoS consists of
- the precedence class
- the delay class
- the reliability class
- the peak throughput class
- the mean throughput class
and is divided in "requested QoS" and "minimum acceptable QoS".
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
command.
Overwrite the precedence class of QoS of CID 1 and set the QoS of CID 1 to be present:
A following read command will respond:
All QoS values of CID 1 are set to network subscribed now, except precedence class which is set to 2. Now
set the QoS of CID 1 to not present:
Once defined, the CID it can be activated. To activate CID 2 use:
If the CID is already active, the mobile responds OK at once.
If no CID and no STATE is given, all defined CIDs will be activated by:
If no CID is defined the mobile responds +CME ERROR: invalid index
Remark: If the mobile is NOT attached by
=1 before activating, the attach is automatically done by
command.
After defining and activating a CID it may be used to get online by:
The mobile supports Layer 2 Protocol (L2P) PPP only.
Remark: If the mobile is NOT attached by
=1 and the CID is NOT activated before connecting,
attaching and activating is automatically done by the
command.
Some providers (e.g. Vodafone 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. Microsoft Hyperterminal) and
then use the Dial-Up Network to send only the
command.
AT+CGQREQ=1,2
OK
AT+CGQREQ?
+CGQREQ: 1,2,0,0,0,0
OK
AT+CGQREQ=1
OK
AT+CGACT=1,2
OK
AT+CGACT=
OK
AT+CGDATA="PPP",1
CONNECT
The mobile is connected using the parameters of CID 1.
AT+CGDATA=
CONNECT
The mobile is connected using default parameters (