You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: components/eppp_link/README.md
+19-1Lines changed: 19 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,8 @@
1
1
# ESP PPP Link component (eppp_link)
2
2
3
3
The component provides a general purpose connectivity engine between two microcontrollers, one acting as PPP server (slave), the other one as PPP client (host).
4
-
This component could be used for extending network using physical serial connection. Applications could vary from providing PRC engine for multiprocessor solutions to serial connection to POSIX machine. This uses a standard PPP protocol to negotiate IP addresses and networking, so standard PPP toolset could be used, e.g. a `pppd` service on linux. Typical application is a WiFi connectivity provider for chips that do not have WiFi
4
+
This component could be used for extending network using physical serial connection. Applications could vary from providing PRC engine for multiprocessor solutions to serial connection to POSIX machine. This uses a standard PPP protocol (if enabled) to negotiate IP addresses and networking, so standard PPP toolset could be used, e.g. a `pppd` service on linux. Typical application is a WiFi connectivity provider for chips that do not have WiFi.
5
+
Uses simplified TUN network interface by default to enable faster data transfer on non-UART transports.
5
6
6
7
## Typical application
7
8
@@ -19,6 +20,23 @@ brings in the WiFi connectivity from the "SLAVE" microcontroller.
19
20
+----------------+ +----------------+
20
21
```
21
22
23
+
## Configuration
24
+
25
+
### Choose the transport layer
26
+
27
+
*`CONFIG_EPPP_LINK_UART` -- Use UART transport layer
28
+
*`CONFIG_EPPP_LINK_SPI` -- Use SPI transport layer
29
+
*`CONFIG_EPPP_LINK_SDIO` -- Use SDIO transport layer
30
+
*`CONFIG_EPPP_LINK_ETHERNET` -- Use Ethernet transport
31
+
- Note: Ethernet creates it's own task, so calling `eppp_perform()` would not work
32
+
- Note: Add dependency to ethernet_init component to use other Ethernet drivers
33
+
- Note: You can override functions `eppp_transport_ethernet_deinit()` and `eppp_transport_ethernet_init()` to use your own Ethernet driver
34
+
35
+
### Choose the network interface
36
+
37
+
Use PPP netif for UART; Keep the default (TUN) for others
0 commit comments