Skip to content
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

fix(bluetooth): Passkey pairing improvements. #1822

Merged

Conversation

petejohanson
Copy link
Contributor

@petejohanson petejohanson commented Jun 3, 2023

  • Capture the last 6 entered digits, and then require pressing
    Enter/Return to submit the entered digits. This matches the
    messaging shown on hosts regarding how to complete pairing.
  • Fix the wording on the Kconfig menu item to accurately describe
    the feature.

Tested on Linux w/ GNOME and on Android, both properly show the expected dialog upon pairing, and pairing only succeeds when a valid value is typed in on the keyboard, followed by pressing Enter/Return.

@petejohanson petejohanson self-assigned this Jun 3, 2023
@petejohanson petejohanson added enhancement New feature or request bluetooth Bluetooth related items labels Jun 3, 2023
@petejohanson petejohanson force-pushed the bluetooth/passkey-improvements branch from 68c366a to a517857 Compare June 3, 2023 03:04
@caksoylar
Copy link
Contributor

Looks good to me and working as expected so far, tested on Windows 11, Android, iOS and iPad OS.

One thing that might be good to note (maybe as a sentence in the config table item?): Existing paired profiles require re-pairing after enabling this option.

* Capture the last 6 entered digits, and then require pressing
   Enter/Return to submit the entered digits. This matches the
   messaging shown on hosts regarding how to complete pairing.
* Fix the wording on the Kconfig menu item to accurately describe
  the feature.
@petejohanson petejohanson force-pushed the bluetooth/passkey-improvements branch from a517857 to e9ebca5 Compare June 3, 2023 05:59
@petejohanson
Copy link
Contributor Author

Looks good to me and working as expected so far, tested on Windows 11, Android, iOS and iPad OS.

One thing that might be good to note (maybe as a sentence in the config table item?): Existing paired profiles require re-pairing after enabling this option.

Good call. Added a note in parentheses there.

@petejohanson petejohanson merged commit 19d883c into zmkfirmware:main Jun 5, 2023
44 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bluetooth Bluetooth related items enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants