RobinBlood wrote: ↑Thu Nov 07, 2019 11:18 amThis looks quite complicated.
I just used the OTAWebUpdater from the example and changed the WiFi.begin with WiFi.softAP
worked for me ...
Code: Select all
void setup(void) { Serial.begin(115200); // Connect to WiFi network WiFi.softAP(ssid, password); Serial.println(""); Serial.print("Connected to "); Serial.println(ssid); Serial.print("IP address: "); Serial.println(WiFi.softAPIP());
OTA update without internet/WiFi network
Re: OTA update without internet/WiFi network
You are showing Arduino code. Which, although their SDK is similar to Espressif's ESP-IDF SDK, it is not identical, and can lag behind in terms of features. This forum is likely aimed at people using the Espressif ESP-IDF SDK.
Re: OTA update without internet/WiFi network
In case anyone stumbles upon this in the future, I just published an even more minimal example of an OTA updater where the ESP32 is in SoftAP mode acting as an HTTP server: https://github.com/Jeija/esp32-softap-ota
It doesn't require jQuery or anything and the code for the ESP32 is pretty much as short as it can be. Hope this is useful to some folks!
It doesn't require jQuery or anything and the code for the ESP32 is pretty much as short as it can be. Hope this is useful to some folks!
Re: OTA update without internet/WiFi network
Hi,
I tried using below code
https://github.com/versamodule/ESP32-OTA-Webserver
It seems update_post_handler never get invoked when update firmware button is pressed from UI.
I used only 2 handler to register.
Update handler and status handler.
Does other 3 also needed??
I moved html code to my esp32 project.
I tried using below code
https://github.com/versamodule/ESP32-OTA-Webserver
It seems update_post_handler never get invoked when update firmware button is pressed from UI.
I used only 2 handler to register.
Update handler and status handler.
Does other 3 also needed??
I moved html code to my esp32 project.
Who is online
Users browsing this forum: No registered users and 116 guests