Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9a0762a

Browse filesBrowse files
authored
[BLE Client] Fix Deadlock when calling writeValue after registerForNotify
Fixes: espressif#4952
1 parent a451c9e commit 9a0762a
Copy full SHA for 9a0762a

File tree

Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+4
-0
lines changed

‎libraries/BLE/src/BLERemoteCharacteristic.cpp

Copy file name to clipboardExpand all lines: libraries/BLE/src/BLERemoteCharacteristic.cpp
+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,10 @@ void BLERemoteCharacteristic::gattClientEventHandler(esp_gattc_cb_event_t event,
246246
}
247247
break;
248248

249+
case ESP_GATTC_DISCONNECT_EVT:
250+
m_semaphoreWriteCharEvt.give(1);
251+
break;
252+
249253
default:
250254
break;
251255
} // End switch

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.