forked from kofal.net/zmk
fix(bluetooth): Remove identity, minimal bt.
* Simplify the `bt` behavior to one current command `BT_CLEAR_BONDS_CMD`. * Simplify BLE code for split and non-split keyboards. * Remove keymap processing from split peripheral side.
This commit is contained in:
@@ -4,14 +4,11 @@
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#define BT_RST_CMD 0
|
||||
#define BT_IDENT_NEXT_CMD 1
|
||||
#define BT_IDENT_PREV_CMD 2
|
||||
#define BT_IDENT_SEL_CMD 3
|
||||
#define BT_IDENT_CLR_CMD 4
|
||||
#define BT_CLEAR_BONDS_CMD 0
|
||||
|
||||
#define BT_RST BT_RST_CMD 0
|
||||
#define BT_IDENT_NEXT BT_IDENT_NEXT_CMD 0
|
||||
#define BT_IDENT_PREV BT_IDENT_PREV_CMD 0
|
||||
#define BT_IDENT_SEL BT_IDENT_SEL_CMD
|
||||
#define BT_IDENT_CLR BT_IDENT_CLR_CMD 0
|
||||
/*
|
||||
Note: Some future commands will include additional parameters, so we
|
||||
defines these aliases up front.
|
||||
*/
|
||||
|
||||
#define BT_CLEAR_BONDS BT_CLEAR_BONDS_CMD 0
|
||||
Reference in New Issue
Block a user