Files
SpotMicroESP32-Leika/esp32/include/firmware_download_service.h
T
2025-07-08 21:59:59 +02:00

25 lines
447 B
C++

#pragma once
#include <Arduino.h>
#include <WiFi.h>
#include <ArduinoJson.h>
#include <event_bus.hpp>
#include <PsychicHttp.h>
#include <HTTPClient.h>
#include <HTTPUpdate.h>
#include <task_manager.h>
#define EVENT_DOWNLOAD_OTA "otastatus"
#define OTA_TASK_STACK_SIZE 9216
class DownloadFirmwareService {
public:
DownloadFirmwareService();
esp_err_t handleDownloadUpdate(PsychicRequest *request, JsonVariant &json);
private:
};