There was an error while loading. Please reload this page.
1 parent c013189 commit 6d3d1f3Copy full SHA for 6d3d1f3
1 file changed
src/NimBLEServer.cpp
@@ -1119,6 +1119,7 @@ NimBLEClient* NimBLEServer::getClient(const NimBLEConnInfo& connInfo) {
1119
m_pClient->deleteServices(); // Changed peer connection delete the database.
1120
m_pClient->m_peerAddress = connInfo.getAddress();
1121
m_pClient->m_connHandle = connInfo.getConnHandle();
1122
+ m_pClient->m_connStatus = NimBLEClient::CONNECTED;
1123
return m_pClient;
1124
} // getClient
1125
0 commit comments