From d4baf10f09bf86f3ef756177f039cb00e4d03745 Mon Sep 17 00:00:00 2001 From: ronny-antoon <90724911+ronny-antoon@users.noreply.github.com> Date: Mon, 8 Apr 2024 12:16:00 +0300 Subject: [PATCH] 7.2.0 publish pio --- lib/UpdateOTA/library.json | 2 +- lib/UpdateOTA/src/UpdateOTA.cpp | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/UpdateOTA/library.json b/lib/UpdateOTA/library.json index 0d5da79..f349fe7 100644 --- a/lib/UpdateOTA/library.json +++ b/lib/UpdateOTA/library.json @@ -1,6 +1,6 @@ { "name": "UpdateOTA", - "version": "7.0.1", + "version": "7.2.0", "description": "The UpdateOTA Library streamlines the implementation of Over-The-Air firmware updates for ESP8266-based projects. It introduces an abstract class, *UpdateOTAInterface*, defining methods for starting updates, retrieving version numbers, and handling update errors. The library is designed to work seamlessly with ESP8266, Arduino, and other related libraries.", "keywords": "UpdateOTA, OTA,over the air, update http, updater,arduino ota,firmware update,upload spiffs, ESP32, ronny, antoon, MetaHouse", "repository": { diff --git a/lib/UpdateOTA/src/UpdateOTA.cpp b/lib/UpdateOTA/src/UpdateOTA.cpp index 6cb951d..ca87c97 100644 --- a/lib/UpdateOTA/src/UpdateOTA.cpp +++ b/lib/UpdateOTA/src/UpdateOTA.cpp @@ -109,18 +109,14 @@ UpdateOTAError UpdateOTA::getVersionNumber(const char *uRL, char *buffer, uint8_ return UpdateOTAError::NO_INTERNET; } - Log_Verbose(_logger, "11111111111111111111111111111111111111111111111111111111111111111"); // Set member variables based on input parameters _uRL = uRL; _wifiClientSecure = new WiFiClientSecure(); - Log_Verbose(_logger, "11111111111111111111111111111111111111111111111111111111111111111"); _httpClient = new HTTPClient(); - Log_Verbose(_logger, "11111111111111111111111111111111111111111111111111111111111111111"); UpdateOTAError err = UpdateOTAError::SUCCESS; -Log_Verbose(_logger, "11111111111111111111111111111111111111111111111111111111111111111"); // Process the GET request err = processGetRequest(); - Log_Verbose(_logger, "11111111111111111111111111111111111111111111111111111111111111111"); + if (err != UpdateOTAError::SUCCESS) { Log_Error(_logger, "UpdateOTA getVersionNumber error: Failed to process GET request, ErrorCode=%d", err);