mirror of
https://github.com/meshtastic/firmware.git
synced 2025-06-25 22:20:27 +00:00
20 lines
319 B
C++
20 lines
319 B
C++
#ifndef BLEOTA_H
|
|
#define BLEOTA_H
|
|
|
|
#include <Arduino.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
|