summaryrefslogtreecommitdiff
path: root/app/include/dt-bindings
diff options
context:
space:
mode:
authorPete Johanson <peter@peterjohanson.com>2020-09-08 23:26:00 -0400
committerPete Johanson <peter@peterjohanson.com>2020-09-13 22:33:29 -0400
commit39f980a06dac1769e4f09abaf19d3ccbb4b34e67 (patch)
tree01ca7749443822591e62087bcade5d321974defd /app/include/dt-bindings
parente88d0833c5f8ddd2b8a9b93ab7b6d03c141f8463 (diff)
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.
Diffstat (limited to 'app/include/dt-bindings')
-rw-r--r--app/include/dt-bindings/zmk/bt.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/app/include/dt-bindings/zmk/bt.h b/app/include/dt-bindings/zmk/bt.h
index 24d27ae..b2899ab 100644
--- a/app/include/dt-bindings/zmk/bt.h
+++ b/app/include/dt-bindings/zmk/bt.h
@@ -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 \ No newline at end of file
+#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 \ No newline at end of file