LoRa_APRS_iGate111/include/ota_utils.h

17 lines
280 B
C++

#ifndef OTA_UTILS_H_
#define OTA_UTILS_H_
#include <ESPAsyncWebServer.h>
#include <Arduino.h>
namespace OTA_Utils {
void setup(AsyncWebServer *server);
void onOTAStart();
void onOTAProgress(size_t current, size_t final);
void onOTAEnd(bool success);
}
#endif