Telit Wireless Solutions Easy GPRS Manuel D’Utilisation

Page de 35
 
 
 
 
 
 
Easy GPRS User Guide 
80000ST10028 Rev. 0 - 02/01/07  
  
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved 
 
page 8 of 35 
 
1.2   Preliminary GPRS context parameters setting 
1.2.1  Context parameter setting 
 
The context parameters are all the set of information to identify the internet entry point interface 
provided by the ISP. With these parameters the GPRS network identifies the ISP to be used to gain 
access to the internet and defines the value of the IP address of the GPRS device once connected. 
 
• 
send command 
 
 
AT+CGDCONT[=[<cid>[,<PDP_type>[,<APN>[,<PDP_addr>[,<d_comp>[,<h_comp>[,<pd
1>[,…[,pdN]]]]]]]]]]<cr> 
 
where:  
 
<cid> - (PDP Context Identifier) numeric parameter which specifies a particular PDP context 
definition. 
  1..max - where the value of max is returned by the Test command 
<PDP_type> - (Packet Data Protocol type) a string parameter which specifies the type of packet data 
protocol 
  "IP" - Internet Protocol 
  "PPP" - Point to Point Protocol 
<APN> - (Access Point Name) a string parameter that represents logical name used to select GGSN 
or external packet data network. If the value is null or omitted, then the subscription value will 
be requested. 
<PDP_addr> - a string parameter that identifies the terminal in the address space applicable to the 
PDP. The allocated address may be read using the +CGPADDR command. 
<d_comp> - numeric parameter that controls PDP data compression 
  0 - off (default if value is omitted) 
  1 - on 
<h_comp> - numeric parameter that controls PDP header compression 
  0 - off (default if value is omitted) 
  1 - on 
<pd1>, …, <pdN> - zero to N string parameters whose meanings are specific to the <PDP_type> 
 
NOTE: a special form of the Set command, +CGDCONT=<cid>, causes the values for context 
number <cid> to become undefined. 
 
NOTE: issuing AT+CGDCONT<CR> is the same as issuing the Read command. 
 
NOTE: issuing AT+CGDCONT=<CR> returns the OK result code.