diff options
| author | JF <JF002@users.noreply.github.com> | 2021-12-22 20:34:20 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-22 20:34:20 (GMT) |
| commit | 3b0b48020d96353fc6cd114aa80fc2fec98363a3 (patch) | |
| tree | 14da1de820113d24ddf1a5fbbbf65785dee77f41 /src/components/ble/BatteryInformationService.cpp | |
| parent | 8ab959b4dcd0778c7637ba7934d24dbe59634327 (diff) | |
| parent | eca0588c2328a72aee3c6132c7c4221277cb8b28 (diff) | |
Merge pull request #886 from evergreen22/passkey-option
Optional secure pairing with a passkey
Diffstat (limited to 'src/components/ble/BatteryInformationService.cpp')
| -rw-r--r-- | src/components/ble/BatteryInformationService.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/ble/BatteryInformationService.cpp b/src/components/ble/BatteryInformationService.cpp index 82df7b1..9a3f86f 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_READ_ENC | BLE_GATT_CHR_F_READ_AUTHEN | BLE_GATT_CHR_F_NOTIFY, + .flags = BLE_GATT_CHR_F_READ | BLE_GATT_CHR_F_NOTIFY, .val_handle = &batteryLevelHandle}, {0}}, serviceDefinition { |
