Re: OTA update without internet/WiFi network
Posted: 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.
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());