mirror of
https://github.com/espressif/esp-protocols.git
synced 2025-08-01 03:34:40 +02:00
feat(examples): Add multiple netif demo: eth+wifi+PPP
This commit is contained in:
25
examples/esp_netif/multiple_netifs/README.md
Normal file
25
examples/esp_netif/multiple_netifs/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
| Supported Targets | ESP32 |
|
||||
| ----------------- | ----- |
|
||||
|
||||
# Multiple Interface example
|
||||
|
||||
## Overview
|
||||
|
||||
This example demonstrates working with multiple different interfaces with different priorities. It creates these interfaces and tries to connect:
|
||||
* WiFi Station
|
||||
* Ethernet using ESP32 internal ethernet driver
|
||||
* PPPoS over cellular modem
|
||||
|
||||
## How to use example
|
||||
|
||||
* Set the priorities and the host name for the example to ICMP ping.
|
||||
* The example will initialize all interfaces
|
||||
* The example will start looping and checking connectivity to the host name
|
||||
* It prints the default interface and ping output
|
||||
* It tries to reconfigure DNS server if host name resolution fails
|
||||
* It tries to manually change the default interface if connection fails
|
||||
|
||||
### Hardware Required
|
||||
|
||||
To run this example, it's recommended that you have an official ESP32 Ethernet development board - [ESP32-Ethernet-Kit](https://docs.espressif.com/projects/esp-idf/en/latest/hw-reference/get-started-ethernet-kit.html).
|
||||
You would also need a modem connected to the board using UART interface.
|
Reference in New Issue
Block a user