Skip to content

Fix BLEClient disconnect bug #3876

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

Merged
merged 2 commits into from
Sep 30, 2020
Merged

Fix BLEClient disconnect bug #3876

merged 2 commits into from
Sep 30, 2020

Conversation

sindney
Copy link
Contributor

@sindney sindney commented Apr 6, 2020

By default the disconnect is broadcasted to every clients. So if you call disconnect on one connected client, they'll all be disconnected if we don't filter the event by conn_id.

I'm not sure if other esp_gattc_cb_event_t events should do the same thing to prevent similar bugs.

By default the disconnect is broadcasted to every clients. So if you call disconnect on one connected client, they'll all be disconnected if we don't filter the event by conn_id.
@sindney sindney mentioned this pull request Apr 6, 2020
@me-no-dev me-no-dev merged commit 5197916 into espressif:master Sep 30, 2020
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