summaryrefslogtreecommitdiff
path: root/src/components/ble/BatteryInformationService.h
diff options
context:
space:
mode:
authorJean-François Milants <jf@codingfield.com>2021-07-13 20:31:44 +0200
committerJean-François Milants <jf@codingfield.com>2021-07-13 20:31:44 +0200
commitaf10747c94080123a5847d5258c2cfeb7ec317cb (patch)
tree7385ab23e93eb7746cf459c64679ddcdaff4fc41 /src/components/ble/BatteryInformationService.h
parent4f378e8726fdcff72598aa6ed12eeaa6b3e61355 (diff)
parent3e705548442f1f208c2092ffc865ae824ee0955a (diff)
Merge branch 'notify-battery-level' into develop
Diffstat (limited to 'src/components/ble/BatteryInformationService.h')
-rw-r--r--src/components/ble/BatteryInformationService.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ble/BatteryInformationService.h b/src/components/ble/BatteryInformationService.h
index 7d060909..1303fd6c 100644
--- a/src/components/ble/BatteryInformationService.h
+++ b/src/components/ble/BatteryInformationService.h
@@ -17,7 +17,7 @@ namespace Pinetime {
void Init();
int OnBatteryServiceRequested(uint16_t connectionHandle, uint16_t attributeHandle, ble_gatt_access_ctxt* context);
-
+ void NotifyBatteryLevel(uint16_t connectionHandle, uint8_t level);
private:
Controllers::Battery& batteryController;
static constexpr uint16_t batteryInformationServiceId {0x180F};