-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
feat(bluetooth): Proper basic bond management, new bt
behavior for resetting bond to host.
#133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
petejohanson
merged 11 commits into
zmkfirmware:main
from
petejohanson:bluetooth/ident-management
Sep 14, 2020
Merged
feat(bluetooth): Proper basic bond management, new bt
behavior for resetting bond to host.
#133
petejohanson
merged 11 commits into
zmkfirmware:main
from
petejohanson:bluetooth/ident-management
Sep 14, 2020
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d194010
to
f26c527
Compare
4e4f844
to
d46df10
Compare
bt
behavior for resetting bond to host.
7515897
to
95925ba
Compare
megamind4089
reviewed
Sep 2, 2020
|
||
int zmk_ble_clear_bonds() | ||
{ | ||
LOG_DBG(""); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🙄
f5b27b8
to
894cfd8
Compare
Testing notes:
Note:
|
Nicell
reviewed
Sep 13, 2020
* 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.
* Simplify the `bt` behavior to one current command `BT_CLEAR_BONDS_CMD`. * Simplify BLE code for split and non-split keyboards. * Remove keymap processing from split peripheral side.
* 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.
* Easy to build board/image that will clear saved profile/bond information for a fresh start for keyboards.
64d6e95
to
4658999
Compare
MangoIV
pushed a commit
to MangoIV/zmk
that referenced
this pull request
Dec 18, 2020
…management feat(bluetooth): Proper basic bond management, new `bt` behavior for resetting bond to host.
tyalie
pushed a commit
to tyalie/zmk
that referenced
this pull request
Nov 15, 2022
…management feat(bluetooth): Proper basic bond management, new `bt` behavior for resetting bond to host.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
bluetooth
Bluetooth related items
core
Core functionality/behavior of ZMK
enhancement
New feature or request
split
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
bt
behavior that can be used to withBT_CLEAR_BONDS
,BT_PROF_NEXT
,BT_PROF_PREV
, andBT_PROF_SEL 2
.ZMK_BLE_CLEAR_BONDS_ON_START
value (e.g.CONFIG_ZMK_BLE_CLEAR_BONDS_ON_START=y
in your conf), and then flash with that firmware. Make sure to revert this once done.