There was an error while loading. Please reload this page.
1 parent 1e3717b commit 211ba18Copy full SHA for 211ba18
1 file changed
libraries/BLE/src/BLEServer.cpp
@@ -207,6 +207,7 @@ void BLEServer::handleGATTServerEvent(esp_gatts_cb_event_t event, esp_gatt_if_t
207
case ESP_GATTS_DISCONNECT_EVT: {
208
if (m_pServerCallbacks != nullptr) { // If we have callbacks, call now.
209
m_pServerCallbacks->onDisconnect(this);
210
+ m_pServerCallbacks->onDisconnect(this, param);
211
}
212
if(m_connId == ESP_GATT_IF_NONE) {
213
return;
0 commit comments