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:
parent
d7d9eed317
commit
0a4b1a6533
5 changed files with 41 additions and 6 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue