summaryrefslogtreecommitdiff
path: root/src/components/ble/BatteryInformationService.cpp
diff options
context:
space:
mode:
authorAvamander <avamander@gmail.com>2021-12-09 20:20:29 (GMT)
committerGitHub <noreply@github.com>2021-12-09 20:20:29 (GMT)
commite8c1302cd65dbd804d152227ae76aa786d6f0b60 (patch)
tree572ece371e587fb6e5c3b531473a528305ba1809 /src/components/ble/BatteryInformationService.cpp
parent5f50f0e538e20ede353b388148b706319da161ce (diff)
parentb946b8d156175309ab778038dab75ec7996c05bc (diff)
Merge branch 'develop' into patch-weather
Diffstat (limited to 'src/components/ble/BatteryInformationService.cpp')
-rw-r--r--src/components/ble/BatteryInformationService.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ble/BatteryInformationService.cpp b/src/components/ble/BatteryInformationService.cpp
index 9a3f86f..82df7b1 100644
--- a/src/components/ble/BatteryInformationService.cpp
+++ b/src/components/ble/BatteryInformationService.cpp
@@ -17,7 +17,7 @@ BatteryInformationService::BatteryInformationService(Controllers::Battery& batte
characteristicDefinition {{.uuid = &batteryLevelUuid.u,
.access_cb = BatteryInformationServiceCallback,
.arg = this,
- .flags = BLE_GATT_CHR_F_READ | BLE_GATT_CHR_F_NOTIFY,
+ .flags = BLE_GATT_CHR_F_READ | BLE_GATT_CHR_F_READ_ENC | BLE_GATT_CHR_F_READ_AUTHEN | BLE_GATT_CHR_F_NOTIFY,
.val_handle = &batteryLevelHandle},
{0}},
serviceDefinition {