summaryrefslogtreecommitdiff
path: root/src/components/ble/NimbleController.h
diff options
context:
space:
mode:
authorMichele Bini <michele.bini@gmail.com>2022-03-30 20:50:42 (GMT)
committerMichele Bini <michele.bini@gmail.com>2022-03-31 00:12:29 (GMT)
commit12e938959eb1e2146fdec3fee7b9a304aa6889d2 (patch)
treef57f54615ad00327e8dc33c958ec67773c49f655 /src/components/ble/NimbleController.h
parentff68f91be9cce2fb27d3b3aea9ab26fa224ea0eb (diff)
with heart
Diffstat (limited to 'src/components/ble/NimbleController.h')
-rw-r--r--src/components/ble/NimbleController.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/ble/NimbleController.h b/src/components/ble/NimbleController.h
index c9d6420..0facca6 100644
--- a/src/components/ble/NimbleController.h
+++ b/src/components/ble/NimbleController.h
@@ -14,6 +14,7 @@
#include "components/ble/CurrentTimeService.h"
#include "components/ble/DeviceInformationService.h"
#include "components/ble/DfuService.h"
+#include "components/ble/HeartRateService.h"
#include "components/ble/ImmediateAlertService.h"
#include "components/ble/ServiceDiscovery.h"
@@ -39,7 +40,8 @@ namespace Pinetime {
DateTime& dateTimeController,
NotificationManager& notificationManager,
Battery& batteryController,
- Pinetime::Drivers::SpiNorFlash& spiNorFlash);
+ Pinetime::Drivers::SpiNorFlash& spiNorFlash,
+ HeartRateController& heartRateController);
void Init();
void StartAdvertising();
int OnGAPEvent(ble_gap_event* event);
@@ -72,6 +74,7 @@ namespace Pinetime {
CurrentTimeService currentTimeService;
BatteryInformationService batteryInformationService;
ImmediateAlertService immediateAlertService;
+ HeartRateService heartRateService;
ServiceDiscovery serviceDiscovery;
uint8_t addrType;