Switch to OTA firmware

This commit is contained in:
Thomas Göttgens
2022-10-08 11:10:29 +02:00
parent e50e15dc04
commit b591e35442
3 changed files with 76 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#ifndef BLEOTA_H
#define BLEOTA_H
#include <functional>
class BleOta {
public:
explicit BleOta() {};
static String getOtaAppVersion();
static bool switchToOtaApp();
private:
String mUserAgent;
static const esp_partition_t *findEspOtaAppPartition();
};
#endif //BLEOTA_H