User manual

GHI Electronics,LLC Embedded Master User Manual
Hardware and Software Library
11.18. PPP
Using this feature, the user can create sockets and do communications over links that are
not Ethernet, such as, serial or wireless links. This feature provides two types of PPP
communications:
The first type is a non-authentication connection between two Embedded Master devices
through Serial Ports or USB to Serial devices. Using this feature you can use Micro
Framework TCP/IP stack over links other than Ethernet. For example, using a wireless
uart-XBee.
In this case, network settings used will be exactly the same ones used for Ethernet port
such as IP address and gateway address.
The second type is PPP Client with PAP authentication protocol. This feature enables the
user to dial in through serial modem ( V.90/ GPRS/ 3G ) to access the Internet or extranet.
In this case, Network settings will be taken from the host server.
Important Notes:
1. Ethernet port can not be used when using GHI PPP Stack.
2. System.Net.Dns.GetHostEntry() Method cannot be used with GHI PPP Stack. Instead, it
is possible to develop C# based DNS query method using UDP sockets. Telit_PPP
source code example includes a simple example, MyGetHostEntry(), that queries
host IP address.
Reference
GHIElectronics.System.Net.PPP
Rev. 2.06 TFT Page 89 of 102 www.ghielectronics.com
Embedded
Master #1
Embedded
Master #2
Serial Communication
TCP/IP
Internet
Embedded
Master
PPP Client
Serial
Modem
Serial Communication
TCP/IP