mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-07 20:16:55 +03:00
* Reboot after OTA: Avoid exeception * Overview - optimize reload behaviour after reboot * Update * Update
20 lines
309 B
C++
20 lines
309 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 doRebootOTA();
|
|
void hard_restart();
|
|
void CheckUpdate();
|
|
|
|
#endif //SERVEROTA_H
|