Справочник Пользователя для Siemens MC35

Скачать
Страница из 256
AT Command Set
 
 
 
 
 
 
 
MC35_ATC_01_V05.00 
Page 177 of 256 
15.07.2002 
6.4  Using GPRS AT commands (examples) 
6.4.1 Miscellaneous AT commands 
 
Defining and using a Context Definition Id (CID): 
Every time a CID is used as a parameter for a GPRS command the CID has to be defined before by 
the AT+CGDCONT command. To get the parameter of a CID use the AT+CGDCONT read option. If 
the response of ‘AT+CGDCONT?’ is OK only, there is no CID defined. 
 
AT+CGDCONT? 
OK 
 
 
 
// there is no CID defined 
 
All parameters of the CID are initiated by NULL or not present values and the CID itself is set to be 
undefined. To define a CID use the AT+CGDCONT Command with at least one CID parameter. At the 
moment the mobile supports CID 1 and CID 2 by using the AT+CGDCONT command.  
 
Examples: 
 
AT+CGDCONT=1,IP 
OK 
 
 
 
// defines CID 1and sets the PDP type to IP 
 
 
 
 
 
// access point name and IP address aren't set 
 
AT+CGDCONT=2,IP, "internet.t-d1.gprs", 111.222.123.234 
OK 
 
 
 
// defines CID 2 ans sets PDP type, APN and IP addr 
 
A following read command will respond 
AT+CGDCONT? 
+CGDCONT:1,IP 
+CGDCONT:2,IP," internet.t-d1.gprs",111.222.123.234 
OK 
 
AT+CGDCONT=1 
OK 
 
 
 
// sets the CID 1 to be undefined 
 
A following read command will respond 
AT+CGDCONT? 
+CGDCONT:2,IP, "internet.t-d1.gprs",111.222.123.234 
OK 
 
 
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 devided in "requested QoS" and "minimum acceptable QoS".