forked from kofal.net/zmk
feat(bluetooth): Add back profiles, split fixes.
* Add back in profiles, not using Zephyr BT identity infrastructure. * Restore additional `&bt` commands for profile operations. * Fix for split pairing and subscriptions, since Zephyr persists subscriptions across connects. * Remove keymap from peripheral builds, reduces firmware size, and avoids unneeded attempts to send HID data.
This commit is contained in:
@@ -4,11 +4,18 @@
|
||||
* SPDX-License-Identifier: MIT
|
||||
*/
|
||||
|
||||
#define BT_CLEAR_BONDS_CMD 0
|
||||
#define BT_CLEAR_BONDS_CMD 0
|
||||
#define BT_PROF_NEXT_CMD 1
|
||||
#define BT_PROF_PREV_CMD 2
|
||||
#define BT_PROF_SEL_CMD 3
|
||||
// #define BT_FULL_RESET_CMD 4
|
||||
|
||||
/*
|
||||
Note: Some future commands will include additional parameters, so we
|
||||
defines these aliases up front.
|
||||
*/
|
||||
|
||||
#define BT_CLEAR_BONDS BT_CLEAR_BONDS_CMD 0
|
||||
#define BT_CLEAR_BONDS BT_CLEAR_BONDS_CMD 0
|
||||
#define BT_PROF_NEXT BT_PROF_NEXT_CMD 0
|
||||
#define BT_PROF_PREV BT_PROF_PREV_CMD 0
|
||||
#define BT_PROF_SEL BT_PROF_SEL_CMD
|
||||
Reference in New Issue
Block a user