2023-11-10 22:18:14 +00:00
|
|
|
#include <Arduino.h>
|
|
|
|
#include <ArduinoOTA.h>
|
|
|
|
#include "config.hpp"
|
|
|
|
#include "shared.hpp"
|
|
|
|
|
|
|
|
void setupOTA();
|
|
|
|
void onOTAStart();
|
2023-11-12 11:38:28 +00:00
|
|
|
void handleOTATask(void *parameter);
|
2023-11-12 23:33:48 +00:00
|
|
|
void onOTAProgress(unsigned int progress, unsigned int total);
|
|
|
|
void downloadUpdate();
|
2023-11-13 00:02:01 +00:00
|
|
|
void onOTAError(ota_error_t error);
|
2023-11-12 23:33:48 +00:00
|
|
|
void onOTAComplete();
|