aboutsummaryrefslogtreecommitdiffstats
path: root/src/Components/Ble/NimbleController.h
diff options
context:
space:
mode:
authorJF <jf@codingfield.com>2020-04-27 20:13:27 +0200
committerJF <jf@codingfield.com>2020-04-27 20:13:27 +0200
commit746c164c593d2b9aa63a0f9a1c1ad032de9627a0 (patch)
treed7061f72ce0b348e1fe2f383765c751511e2ad30 /src/Components/Ble/NimbleController.h
parent557e8fa19fbc86e342b79df3f8dbf861d6129b43 (diff)
BLE : Display the actual status of the connection on the screen.
Diffstat (limited to 'src/Components/Ble/NimbleController.h')
-rw-r--r--src/Components/Ble/NimbleController.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Components/Ble/NimbleController.h b/src/Components/Ble/NimbleController.h
index 7a7a94c9..99e0c811 100644
--- a/src/Components/Ble/NimbleController.h
+++ b/src/Components/Ble/NimbleController.h
@@ -12,7 +12,7 @@ namespace Pinetime {
class NimbleController {
public:
- NimbleController(Pinetime::System::SystemTask& systemTask, DateTime& dateTimeController, Pinetime::Controllers::NotificationManager& notificationManager);
+ NimbleController(Pinetime::System::SystemTask& systemTask, Pinetime::Controllers::Ble& bleController, DateTime& dateTimeController, Pinetime::Controllers::NotificationManager& notificationManager);
void Init();
void StartAdvertising();
int OnGAPEvent(ble_gap_event *event);
@@ -28,6 +28,7 @@ namespace Pinetime {
private:
static constexpr char* deviceName = "Pinetime-JF";
Pinetime::System::SystemTask& systemTask;
+ Pinetime::Controllers::Ble& bleController;
DateTime& dateTimeController;
Pinetime::Controllers::NotificationManager& notificationManager;