diff options
author | Kieran Cawthray <kieranc@gmail.com> | 2021-07-20 15:30:07 +0200 |
---|---|---|
committer | Kieran Cawthray <kieranc@gmail.com> | 2021-07-20 15:30:07 +0200 |
commit | db784fc2fb4e9095f3c1a0168a4b6978e8bfa76d (patch) | |
tree | 84bbed8c3a9ae57ad2fdbe92b0f61e8eadbc5fbc /src/components/ble/NimbleController.h | |
parent | 5c183bef8549368ca8709f98215d52f8e150ad57 (diff) | |
parent | 57b339707861c5688f5d432f1506a99df6bb0fce (diff) |
Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpicker
Diffstat (limited to 'src/components/ble/NimbleController.h')
-rw-r--r-- | src/components/ble/NimbleController.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/ble/NimbleController.h b/src/components/ble/NimbleController.h index 5dd01e42..0cfe983c 100644 --- a/src/components/ble/NimbleController.h +++ b/src/components/ble/NimbleController.h @@ -70,6 +70,7 @@ namespace Pinetime { }; uint16_t connHandle(); + void NotifyBatteryLevel(uint8_t level); private: static constexpr const char* deviceName = "InfiniTime"; @@ -92,7 +93,7 @@ namespace Pinetime { HeartRateService heartRateService; uint8_t addrType; // 1 = Random, 0 = PUBLIC - uint16_t connectionHandle = 0; + uint16_t connectionHandle = BLE_HS_CONN_HANDLE_NONE; ble_uuid128_t dfuServiceUuid { .u {.type = BLE_UUID_TYPE_128}, |