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