We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d5fcea commit 27d5fcfCopy full SHA for 27d5fcf
src/NimBLEClient.cpp
@@ -100,9 +100,10 @@ NimBLEClient::~NimBLEClient() {
100
* be called to reset the host in the case of a stalled controller.
101
*/
102
void NimBLEClient::dcTimerCb(ble_npl_event *event) {
103
- NimBLEClient *pClient = (NimBLEClient*)event->arg;
+ /* NimBLEClient *pClient = (NimBLEClient*)event->arg;
104
NIMBLE_LOGC(LOG_TAG, "Timed out disconnecting from %s - resetting host",
105
std::string(pClient->getPeerAddress()).c_str());
106
+ */
107
ble_hs_sched_reset(BLE_HS_ECONTROLLER);
108
}
109
0 commit comments