chrisjoyce911 / esp32FOTA

Experiments in firmware OTA updates for ESP32 dev boards
The Unlicense
337 stars 86 forks source link

Ethernet usage #152

Open infrafast opened 5 days ago

infrafast commented 5 days ago

Hello this library looks really good! My use case is that my esp device can connect the network via wifi OR ethernet, so my question is would that still works over ethernet (w5500 using ethernet.h) thanks!

tobozo commented 5 days ago

hi,

esp32FOTA uses the new NetworkClient from espressif when applicable (needs arduino-esp32 3.x.x), so as long as your ethernet library uses it and Network.begin() has been called, it should work

infrafast commented 2 days ago

Very good thanks for your answer, I am using ethernet.h and therefore call Ethernet.begin() or WiFi.begin() depending if I detect eth HW or not but I will have a look to Network.begin as you mention and see if I can migrate