summaryrefslogtreecommitdiff
path: root/src/Components/Ble/BleController.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Components/Ble/BleController.h')
-rw-r--r--src/Components/Ble/BleController.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/Components/Ble/BleController.h b/src/Components/Ble/BleController.h
index 4f037fc1..31d66986 100644
--- a/src/Components/Ble/BleController.h
+++ b/src/Components/Ble/BleController.h
@@ -7,22 +7,13 @@ namespace Pinetime {
namespace Controllers {
class Ble {
public:
- struct NotificationMessage {
- uint8_t size = 0;
- const char* message = nullptr;
- };
- Ble();
+ Ble() = default;
bool IsConnected() const {return isConnected;}
void Connect();
void Disconnect();
-
- void PushNotification(const char* message, uint8_t size);
- bool PopNotification(NotificationMessage& msg);
-
private:
bool isConnected = false;
- QueueHandle_t notificationQueue;
};
}