diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-09-08 23:26:00 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-09-13 22:33:29 -0400 |
commit | 39f980a06dac1769e4f09abaf19d3ccbb4b34e67 (patch) | |
tree | 01ca7749443822591e62087bcade5d321974defd /app/include/zmk/ble | |
parent | e88d0833c5f8ddd2b8a9b93ab7b6d03c141f8463 (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/zmk/ble')
-rw-r--r-- | app/include/zmk/ble/profile.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/app/include/zmk/ble/profile.h b/app/include/zmk/ble/profile.h new file mode 100644 index 0000000..9a79c6d --- /dev/null +++ b/app/include/zmk/ble/profile.h @@ -0,0 +1,16 @@ +/* + * Copyright (c) 2020 Peter Johanson <peter@peterjohanson.com> + * + * SPDX-License-Identifier: MIT + */ + +#pragma once + +#include <bluetooth/addr.h> + +#define ZMK_BLE_PROFILE_NAME_MAX 15 + +struct zmk_ble_profile { + char name[ZMK_BLE_PROFILE_NAME_MAX]; + bt_addr_le_t peer; +}; |