mirror of
https://github.com/h2zero/esp-nimble-cpp.git
synced 2026-07-04 23:41:07 +02:00
[Bugfix] Set server created client connection status on creation.
This commit is contained in:
@@ -1119,6 +1119,7 @@ NimBLEClient* NimBLEServer::getClient(const NimBLEConnInfo& connInfo) {
|
||||
m_pClient->deleteServices(); // Changed peer connection delete the database.
|
||||
m_pClient->m_peerAddress = connInfo.getAddress();
|
||||
m_pClient->m_connHandle = connInfo.getConnHandle();
|
||||
m_pClient->m_connStatus = NimBLEClient::CONNECTED;
|
||||
return m_pClient;
|
||||
} // getClient
|
||||
|
||||
|
||||
Reference in New Issue
Block a user