JXCT Soil Sensor 7-in-1 3.10.1
IoT система мониторинга почвы на базе ESP32
Загрузка...
Поиск...
Не найдено
Файл ota_manager.cpp
#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"
Граф включаемых заголовочных файлов для ota_manager.cpp:

Функции

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 ()
 

Функции

◆ checkGuard()

void checkGuard ( const char *  tag)

◆ getOtaStatus()

const char * getOtaStatus ( )

◆ setupOTA()

void setupOTA ( const char *  manifestUrl,
WiFiClient &  client 
)

◆ downloadAndUpdate()

static bool downloadAndUpdate ( const String &  binUrl,
const char *  expectedSha256 
)
static

◆ triggerOtaCheck()

void triggerOtaCheck ( )

◆ triggerOtaInstall()

void triggerOtaInstall ( )

◆ handleOTA()

void handleOTA ( )