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

Add ability to update connection params after connect #183

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dsanders11
Copy link
Contributor

@sandeepmistry, take a look when you get a chance.

I ran into an issue when using Web Bluetooth with Google Chrome, where after a few messages Chrome would send a connection params update to change the connection interval to a very slow 97.5 ms, which is too slow for my application. After that happens if I change them back to what I have them set at for new connections, Chrome accepts it and doesn't mess with it any further.

This PR adds two things, ability to update the connection params during an active connection, and a new event so you can detect when the connection params are changed by the central.

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.

1 participant