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