Insys GPRS 5.0 serial 11-02-01-03-10.014 Manuale Utente

Codici prodotto
11-02-01-03-10.014
Pagina di 82
INSYS GPRS 5.0 serial 
 
Connection 
 
Mai 06 
            37 
5.4 
Direct GPRS Connection via PPP  
When directly using the GPRS functionality of the GSM/GPRS en-
gine, the INSYS GPRS 5.0 serial will only make PPP raw data avail-
able after the dial-up into the GPRS network has taken place. In this 
case, the application must perform the required protocol stacks 
(PPP, TCP/IP) for the application. In this mode, the TCP/IP stack of 
the INSYS GPRS 5.0 serial is not active. 
Example: Connection via the RDT network of a PC.  
In this mode, the INSYS GPRS 5.0 serial is the PPP server. 
5.4.1  PDP context 
With the PDP context, the Access Point Name (APN) of the GPRS 
network provider is specified. 
Note:  see also Chapter 10 "GPRS Dial-in Parameters" 
E.g.: The Vodafone APN address is  
WEB.VODAFONE.DE. 
There is basically the possibility to define different PDP contexts; in 
this case it is stored as context “1” (see also Chapt. 6.2.4 “AT com-
mands for GPRS”). 
Note:  The PDP context can not be stored permanently; it must be 
re-entered every time the device is restarted. 
5.4.2  PPP authentication type 
To adjust the authentication type to the one used by the PPP cli-
ent of the application, the INSYS GPRS 5.0 serial offers two possi-
bilities: 
 
¾
  No authentication 
¾
  PAP 
5.4.3  GPRS connection setup 
Modem-compatible GPRS connection setup  
When dialing this special number, the GPRS service is activated. 
 
If a PDP context (AT+CGDCONT) is defined, 
such as: The PDP context no. 1, the AT command will be:  
The successfully established connection is indicated by the con-
trol signal DCD and the message CONNECT
After the GPRS connection has been successfully established, the 
protocol stacks of the application can start: First the PPP session is 
started, and then it can be used for TCP/IP data traffic. 
AT^SGAUTH=0 
AT^SGAUTH= 
<authentication>
AT^SGAUTH=1 
ATD*99***<cid># 
ATD*99***1# 
AT+CGDCONT=1, 
IP,<APN> 
AT+CGDCONT=1,IP, 
”WEB.VODAFONE.DE”