diff options
| author | Jean-François Milants <jf@codingfield.com> | 2021-07-13 18:31:44 (GMT) |
|---|---|---|
| committer | Jean-François Milants <jf@codingfield.com> | 2021-07-13 18:31:44 (GMT) |
| commit | af10747c94080123a5847d5258c2cfeb7ec317cb (patch) | |
| tree | 7385ab23e93eb7746cf459c64679ddcdaff4fc41 /src/components/ble/BatteryInformationService.h | |
| parent | 4f378e8726fdcff72598aa6ed12eeaa6b3e61355 (diff) | |
| parent | 3e705548442f1f208c2092ffc865ae824ee0955a (diff) | |
Merge branch 'notify-battery-level' into develop
Diffstat (limited to 'src/components/ble/BatteryInformationService.h')
| -rw-r--r-- | src/components/ble/BatteryInformationService.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ble/BatteryInformationService.h b/src/components/ble/BatteryInformationService.h index 7d06090..1303fd6 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}; |
