diff options
author | Pete Johanson <peter@peterjohanson.com> | 2020-08-28 14:15:16 -0400 |
---|---|---|
committer | Pete Johanson <peter@peterjohanson.com> | 2020-09-13 22:33:05 -0400 |
commit | cf970efb98c5af97955bfffbcebb3b065b16edc4 (patch) | |
tree | a44d5b05e62bf7bdd00d4e4bae38617a411a89f5 /app/dts/behaviors | |
parent | 304603240f7ba16f67912a0031c64fb9ae4e8279 (diff) |
feat(bluetooth): Proper bond management, identity support for non-splits
* Add `bt` behavior that can be used to perform certain actions,
such as next/prev identity, reset identity, etc.
NOTE: Multiple identities is only supported for non-split shields,
due to missing Zephyr identity functionality for dual
central/peripheral devices.
* Proper bond reset tied to action, that honors peripheral bonds,
so folks can reset and pair to other hosts, without breaking
bonds between splt halves.
Diffstat (limited to 'app/dts/behaviors')
-rw-r--r-- | app/dts/behaviors/bluetooth.dtsi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/app/dts/behaviors/bluetooth.dtsi b/app/dts/behaviors/bluetooth.dtsi new file mode 100644 index 0000000..ea09f4a --- /dev/null +++ b/app/dts/behaviors/bluetooth.dtsi @@ -0,0 +1,9 @@ +/ { + behaviors { + bt: behavior_bluetooth { + compatible = "zmk,behavior-bluetooth"; + label = "BLUETOOTH"; + #binding-cells = <2>; + }; + }; +}; |