Files
nuki_hub/Ota.h
technyon 9286c5f56e backup
2022-06-13 22:54:20 +02:00

16 lines
230 B
C++

#pragma once
#include <stdint.h>
#include <cstddef>
#include "esp_ota_ops.h"
class Ota
{
public:
void updateFirmware(uint8_t buf, size_t size);
private:
bool _updateFlag = false;
esp_ota_handle_t otaHandler = 0;
};