We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Arduino board: esp32
Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.19
List the steps to reproduce the problem below (if possible attach a sketch or copy the sketch code in too):
If restart esp32 without line bool updatedNeeded = esp32FOTA.execHTTPcheck(); I get that error.
bool updatedNeeded = esp32FOTA.execHTTPcheck();
This is part of my code.
void setup(void) { Serial.begin(115200); Serial.setDebugOutput(true); esp32FOTA.setManifestURL( manifest_url ); esp32FOTA.printConfig(); sensors.begin(); nvs.begin("datos",false); // use "datos" namespace READfromNVS(); READLoginfromNVS(); WiFi.onEvent(WiFiStationDisconnected, WiFiEvent_t::ARDUINO_EVENT_WIFI_STA_DISCONNECTED); connectWIFI(); // bool updatedNeeded = esp32FOTA.execHTTPcheck(); if (MUST_UPDATE == true) { nvs.putBool("must_update", false); Serial.println("Ha reiniciado ...y empieza actualizacion"); esp32FOTA.execOTA(); delay (2000); } ESPUI.setVerbosity(Verbosity::Verbose); //Turn ON verbose debugging timeClient.begin(); // Initialize a NTPClient to get time timeClient.setTimeOffset(3600); // Set offset time in seconds to adjust for your timezone, for example: // GMT +1 = 3600 timeClient.update();
Check is triggered by a button.
Serial.println("Check update"); // Check version firmware bool updatedNeeded = esp32FOTA.execHTTPcheck(); if (updatedNeeded) { // necesita_update(); nvs.putBool("must_update", true); Serial.println("Necesita actualizar...y reinicia"); delay (3000); ESP.restart(); // Restart ESP32 } Serial.println("NO necesita actualizar..."); break; }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Arduino board: esp32
Arduino IDE version (found in Arduino -> About Arduino menu): 1.8.19
List the steps to reproduce the problem below (if possible attach a sketch or
copy the sketch code in too):
If restart esp32 without line
bool updatedNeeded = esp32FOTA.execHTTPcheck();
I get that error.
This is part of my code.
Check is triggered by a button.
The text was updated successfully, but these errors were encountered: