OTA update without internet/WiFi network

mriksman
Posts: 2
Joined: Tue Mar 24, 2020 1:47 pm

Re: OTA update without internet/WiFi network

Postby mriksman » Tue Mar 24, 2020 1:50 pm

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.
RobinBlood wrote:
Thu Nov 07, 2019 11:18 am
This 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());
  
 

Norrepli
Posts: 1
Joined: Thu Mar 16, 2017 7:44 pm

Re: OTA update without internet/WiFi network

Postby Norrepli » Mon Jun 15, 2020 9:15 pm

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!

vinny503
Posts: 1
Joined: Wed Feb 03, 2021 9:37 pm

Re: OTA update without internet/WiFi network

Postby vinny503 » Wed Feb 03, 2021 9:42 pm

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.

Who is online

Users browsing this forum: No registered users and 52 guests