Files
AI-on-the-edge-device/code/components/jomjol_fileserver_ota/server_ota.h
2022-12-20 06:46:13 +01:00

20 lines
334 B
C++

#pragma once
#ifndef SERVEROTA_H
#define SERVEROTA_H
#include <esp_log.h>
#include <esp_http_server.h>
#include <string>
void register_server_ota_sdcard_uri(httpd_handle_t server);
void CheckOTAUpdate();
void doReboot();
void hard_restart();
void CheckUpdate();
static bool ota_update_task(std::string fn);
#endif //SERVEROTA_H