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

ble/sagas: add workaround for BlueZ quirk #1262

Merged
merged 1 commit into from
Oct 26, 2022
Merged

ble/sagas: add workaround for BlueZ quirk #1262

merged 1 commit into from
Oct 26, 2022

Conversation

dlech
Copy link
Member

@dlech dlech commented Oct 26, 2022

The 'gattserverdisconnected' event is called before the device is actually disconnected, so if the user tries to connect again immediately, the web browser will show a still "paired" device, but selecting this devices results in an infinite wait. This is a bug in Chromium, but we can work around it by adding a delay to give BlueZ time to actually disconnect the device.

Closes: pybricks/support#600

The 'gattserverdisconnected' event is called before the device is
actually disconnected, so if the user tries to connect again
immediately, the web browser will show a still "paired" device, but
selecting this devices results in an infinite wait. This is a bug in
Chromium, but we can work around it by adding a delay to give BlueZ
time to actually disconnect the device.

Closes: pybricks/support#600
@dlech dlech enabled auto-merge (rebase) October 26, 2022 21:12
@dlech dlech merged commit 509c635 into master Oct 26, 2022
@dlech dlech deleted the dlech branch October 26, 2022 21:20
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.

Use random Bluetooth address
1 participant