summaryrefslogtreecommitdiff
path: root/app/src/events
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/src/events
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/src/events')
-rw-r--r--app/src/events/ble_active_profile_changed.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/src/events/ble_active_profile_changed.c b/app/src/events/ble_active_profile_changed.c
new file mode 100644
index 0000000..a270a14
--- /dev/null
+++ b/app/src/events/ble_active_profile_changed.c
@@ -0,0 +1,10 @@
+/*
+ * Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com>
+ *
+ * SPDX-License-Identifier: MIT
+ */
+
+#include <kernel.h>
+#include <zmk/events/ble-active-profile-changed.h>
+
+ZMK_EVENT_IMPL(ble_active_profile_changed); \ No newline at end of file