Files
firmware/src/platform/esp32/BleOta.h

20 lines
319 B
C
Raw Normal View History

2022-10-08 11:10:29 +02:00
#ifndef BLEOTA_H
#define BLEOTA_H
2023-01-21 15:07:30 +01:00
#include <Arduino.h>
2022-10-08 11:10:29 +02:00
#include <functional>
2023-01-21 14:34:29 +01:00
class BleOta
{
2022-10-08 11:10:29 +02:00
public:
2023-01-21 14:34:29 +01:00
explicit BleOta(){};
2022-10-08 11:10:29 +02:00
static String getOtaAppVersion();
static bool switchToOtaApp();
private:
String mUserAgent;
static const esp_partition_t *findEspOtaAppPartition();
};
2023-01-21 14:34:29 +01:00
#endif // BLEOTA_H