fix(split): Properly rediscover peripherals.

* Handle disconnects of peripherals, and properly clean up
  and resume discovering for when the peripheral re-appears.
This commit is contained in:
Peter Johanson
2021-10-17 02:27:10 +00:00
committed by Pete Johanson
parent 73fd4b9230
commit 0b0b49d626
2 changed files with 58 additions and 43 deletions

View File

@@ -167,6 +167,7 @@ menuconfig ZMK_SPLIT_BLE_ROLE_CENTRAL
bool "Central"
select BT_CENTRAL
select BT_GATT_CLIENT
select BT_GATT_AUTO_DISCOVER_CCC
if ZMK_SPLIT_BLE_ROLE_CENTRAL