2019-12-27 11:05:49 -05:00
|
|
|
#pragma once
|
|
|
|
|
2020-03-25 16:23:40 -04:00
|
|
|
#include <FreeRTOS.h>>
|
|
|
|
#include <queue.h>
|
|
|
|
|
2019-12-27 11:05:49 -05:00
|
|
|
namespace Pinetime {
|
|
|
|
namespace Controllers {
|
|
|
|
class Ble {
|
|
|
|
public:
|
2020-03-25 16:23:40 -04:00
|
|
|
|
2020-03-28 14:05:28 -04:00
|
|
|
Ble() = default;
|
2019-12-27 11:05:49 -05:00
|
|
|
bool IsConnected() const {return isConnected;}
|
|
|
|
void Connect();
|
|
|
|
void Disconnect();
|
|
|
|
private:
|
|
|
|
bool isConnected = false;
|
2020-03-25 16:23:40 -04:00
|
|
|
|
2019-12-27 11:05:49 -05:00
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|