Merge pull request #99 from petejohanson/core/bluetooth-unpair-magic-combo
Add magic combo for unpairing BT devices on start.
This commit is contained in:
commit
0d3cfa8596
22 changed files with 160 additions and 10 deletions
|
|
@ -200,6 +200,12 @@ static int zmk_ble_init(struct device *_arg)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int zmk_ble_unpair_all()
|
||||
{
|
||||
LOG_DBG("");
|
||||
return bt_unpair(BT_ID_DEFAULT, NULL);
|
||||
};
|
||||
|
||||
bool zmk_ble_handle_key_user(struct zmk_key_event *key_event)
|
||||
{
|
||||
zmk_key key = key_event->key;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue