2023-11-30 21:38:01 +00:00
|
|
|
#include "lib/config.hpp"
|
|
|
|
#include "lib/shared.hpp"
|
2023-11-10 22:18:14 +00:00
|
|
|
#include <Arduino.h>
|
|
|
|
#include <ArduinoOTA.h>
|
|
|
|
|
|
|
|
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();
|