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

Pairing improvements #68

Merged
merged 3 commits into from
Nov 12, 2022
Merged

Pairing improvements #68

merged 3 commits into from
Nov 12, 2022

Conversation

uael
Copy link
Contributor

@uael uael commented Nov 9, 2022

No description provided.

bumble/device.py Outdated Show resolved Hide resolved
bumble/smp.py Outdated Show resolved Hide resolved
@barbibulle
Copy link
Collaborator

the change makes sense, but it looks like the tests need to be fixed/changed as well.

bumble/device.py Show resolved Hide resolved
@uael
Copy link
Contributor Author

uael commented Nov 10, 2022

the change makes sense, but it looks like the tests need to be fixed/changed as well.

Yes I just fixed :)

I had to add a new logic for this reason:
eb46f60#r1018585319

I think the change is "good-enough" for now, but it's kind of a hack, you may have a better solution

@uael uael changed the title pairing: always ask user for confirmation, even in JUST_WORKS method Pairing improvements Nov 10, 2022
@uael uael requested a review from barbibulle November 10, 2022 17:52
@barbibulle
Copy link
Collaborator

I think the change is "good-enough" for now, but it's kind of a hack, you may have a better solution

Yes, this works well enough for now. We can revisit it later when we implement extended advertising.

@uael uael merged commit d743656 into main Nov 12, 2022
@uael uael deleted the uael/pairing-improvements branch November 29, 2022 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants