ESP32 & EthernetENC OTA update as download #150
-
I am a little confused about what I read in the documentation. Maybe you can help clarify. I want to implement OTA update as download on ESP32 using your EthernetENC library.
-> nothing in this library for my use case, correct? So, I went ahead and checked the (public) interface of the ESP32 HTTPUpdate library. At https://github.com/espressif/arduino-esp32/blob/6cfe4613e4b4846e1ab08c7f78b7ea241f52c7da/libraries/HTTPUpdate/src/HTTPUpdate.h#L94 I found this one function that works with an t_httpUpdate_return update(HTTPClient& httpClient,
const String& currentVersion = ""); However, contrary to using the https://github.com/jandrassy/ArduinoOTA/blob/1cc443dfa0fcf3141ae4c14ba09f0c3187427911/examples/Advanced/OTASketchDownload/OTASketchDownload.ino#L49-L55 but here it's the client that triggers the GET request - something which your documentation above says should not be used on ESP32. So, is there an example somewhere how to OTA update as download on ESP32 over Ethernet? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
sorry this is of course applies to native WiFi of the esp32. but the InternalStorage of this ArduinoOTA library only wraps the esp32 Update object for the library's upload server. |
Beta Was this translation helpful? Give feedback.
sorry this is of course applies to native WiFi of the esp32.
but the InternalStorage of this ArduinoOTA library only wraps the esp32 Update object for the library's upload server.
Use the esp32 Update library directly for update with a downloaded bin.