feat(ble): add behavior to disconnect from BLE profile

Adds new functionality and a behavior to disconnect an active BLE connection.
The motivation for this is that for some devices like phones, the presence of an
active BLE connection results in the onscreen keyboard being selected.
This commit is contained in:
Chris Andreae
2023-11-21 05:00:10 +09:00
committed by GitHub
parent d7d9eed317
commit 0a4b1a6533
5 changed files with 41 additions and 6 deletions

View File

@@ -24,6 +24,7 @@ int zmk_ble_clear_bonds();
int zmk_ble_prof_next();
int zmk_ble_prof_prev();
int zmk_ble_prof_select(uint8_t index);
int zmk_ble_prof_disconnect(uint8_t index);
int zmk_ble_active_profile_index();
bt_addr_le_t *zmk_ble_active_profile_addr();