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 BLE race conditions #40

Merged
merged 2 commits into from
Jan 3, 2018
Merged

Fix BLE race conditions #40

merged 2 commits into from
Jan 3, 2018

Conversation

filipnavara
Copy link

Fix race condition with queued BLE notifications/indications being silently discarded because previous notification/indication was not confirmed by the GATT client yet. Also, fix a startup race condition where hci_init_flag was set after the Bluetooth stack thread was spawned and occasionally caused the thread to quit immediately.

…lently discarded because previous notification/indication was not confirmed by the GATT client yet. Also fix a startup race condition where hci_init_flag was set after the Bluetooth stack thread was spawned and occasionally caused the thread to quit immediately.
@XuGuohui XuGuohui closed this Jan 3, 2018
@XuGuohui XuGuohui reopened this Jan 3, 2018
@XuGuohui XuGuohui merged commit ebe3be1 into redbear:duo Jan 3, 2018
@XuGuohui
Copy link
Collaborator

XuGuohui commented Jan 3, 2018

Thanks for your contribution!

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.

2 participants