forked from h2zero/esp-nimble-cpp
Don't call application callbacks invoked when connection not established.
If a connection event was sent but failed to establish then the disconnect callback would be triggered when the application was not yet informed of the connection. * Cleanup logs and add comments.
This commit is contained in:
1 parent
28717c300a
commit
740f280664
2 files changed
+52
-29
No files matched your search
@@ -89,6 +89,7 @@ private:
|
||||
|
||||
NimBLEAddress m_peerAddress;
|
||||
uint16_t m_conn_id;
|
||||
bool m_connEstablished;
|
||||
bool m_deleteCallbacks;
|
||||
int32_t m_connectTimeout;
|
||||
NimBLEClientCallbacks* m_pClientCallbacks;
|
||||
|
||||
Reference in new issue
Block a user