JXCT Soil Sensor 7-in-1 3.10.1
IoT система мониторинга почвы на базе ESP32
|
#include "ota_manager.h"
#include <Arduino.h>
#include <ArduinoJson.h>
#include <HTTPClient.h>
#include <Update.h>
#include <esp_ota_ops.h>
#include <esp_task_wdt.h>
#include <mbedtls/sha256.h>
#include <strings.h>
#include <array>
#include "jxct_config_vars.h"
#include "logger.h"
#include "version.h"
#include "ota_verification.h"
Функции | |
void | checkGuard (const char *tag) |
const char * | getOtaStatus () |
void | setupOTA (const char *manifestUrl, WiFiClient &client) |
static bool | downloadAndUpdate (const String &binUrl, const char *expectedSha256) |
void | triggerOtaCheck () |
void | triggerOtaInstall () |
void | handleOTA () |
void checkGuard | ( | const char * | tag | ) |
const char * getOtaStatus | ( | ) |
void setupOTA | ( | const char * | manifestUrl, |
WiFiClient & | client | ||
) |
|
static |
void triggerOtaCheck | ( | ) |
void triggerOtaInstall | ( | ) |
void handleOTA | ( | ) |