Hi,
I am trying to bridge my ethernet and WIFI interfaces on my esp32 but still have an IP assigned to it. This is because I want to be able to update my ESP32 with an OTA function. But I require the bridging for my application.
Firstly I would like to know if this is possible (to have both a bridge as well as an static IP on either interface for internet connection with OTA functionality)?
further, I used the eth2ap example to bridge my ethernet and WIFI interface and tried to assign it a static IP, but when I successfully assign it an IP, it no longer bridges the interfaces.
I made some modifications to the example to add the static IP. I will upload the .c file here. Any advice would be highly appreciated.
bridge ethernet and wifi but with IP
-
- Posts: 2
- Joined: Wed May 03, 2023 11:46 am
bridge ethernet and wifi but with IP
- Attachments
-
- ethernet_example_main.c
- (20.09 KiB) Downloaded 227 times
-
- Posts: 210
- Joined: Fri May 07, 2021 10:35 am
Re: bridge ethernet and wifi but with IP
Try this one https://github.com/espressif/esp-idf/tr ... ork/bridge. I merged the update to support WiFi just yesterday so please wait few days to be synchronized to GitHub. Here you could find more info and work in progress version: https://github.com/espressif/esp-idf/issues/5697
Who is online
Users browsing this forum: Bing [Bot] and 91 guests