feat(split): Use directed advertising.

* Split centrals to scan with their identity so they receive direct
  advertising packets.
* Split peripherals to use direct advertising if they have an existing
  bond to a split central.
This commit is contained in:
Peter Johanson
2023-09-02 01:45:12 -07:00
committed by Pete Johanson
parent 3936298260
commit 718500543b
3 changed files with 45 additions and 4 deletions

View File

@@ -14,6 +14,7 @@ config ZMK_SPLIT_ROLE_CENTRAL
select BT_CENTRAL
select BT_GATT_CLIENT
select BT_GATT_AUTO_DISCOVER_CCC
select BT_SCAN_WITH_IDENTITY
if ZMK_SPLIT_ROLE_CENTRAL