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 Client] Fix deadlock if connection loss while readValue #7319

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

Rotzbua
Copy link
Contributor

@Rotzbua Rotzbua commented Oct 1, 2022

Description of Change

Releases BLE read semaphore on BLE target disconnect to avoid deadlock on read process.

Tests scenarios

Tested with heltec_wifi_kit_32 and BLE target.

Related links

Fixes #7318

@VojtechBartoska VojtechBartoska added the Area: BT&Wifi BT & Wifi related issues label Oct 10, 2022
@VojtechBartoska VojtechBartoska added this to the 2.0.6 milestone Oct 10, 2022
@me-no-dev me-no-dev merged commit 4ac71d2 into espressif:master Nov 2, 2022
@me-no-dev
Copy link
Member

Thanks @Rotzbua :)

@Rotzbua Rotzbua deleted the patch-1 branch November 2, 2022 12:35
DamianSuess added a commit to DamianSuess/EspBleLibrary that referenced this pull request Jan 8, 2023
…ue. Releases BLE read semaphore on BLE target disconnect to avoid deadlock on read process

espressif/arduino-esp32#7319
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: BT&Wifi BT & Wifi related issues
Projects
Development

Successfully merging this pull request may close these issues.

[BLE Client] Deadlock if connection loss while readValue
3 participants