Siemens TC63 Benutzerhandbuch

Seite von 501
TC63 AT Command Set  
11.22 Using GPRS AT commands (Examples)
s
TC63_ATC_V00.490
Page 308 of 501
5/24/05
Confidential / Draft - Do not copy
 
11.22
Using GPRS AT commands (Examples)
Examples
EXAMPLE 1
 
 
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 using
 command. To get the parameter of a CID use the 
 read option. If the response
of 'AT+CGDCONT?' is OK only, 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 th
 command with at least one CID parameter. At the moment the mobile
supports CID 1 and CID 2 by using the 
 command. 
Define CID 1 and set the PDP type to IP, access point name and IP address are not set: 
Define CID 2 and sets PDP type, APN and IP addr: 
A following read command will respond: 
Set the CID 1 to be undefined: 
A following read command will respond: 
AT+CGDCONT?
OK
There is no CID defined
AT+CGDCONT=1,"IP"
OK
AT+CGDCONT=2,"IP", "internet.t-d1.gprs", 111.222.123.234
OK
AT+CGDCONT?
+CGDCONT:1,"IP","","",0,0
+CGDCONT:2,"IP","internet.t-d1.gprs",111.222.123.234
OK
AT+CGDCONT=1
OK
AT+CGDCONT?
+CGDCONT:2,"IP","internet.t-d1.gprs",111.222.123.234
OK