esp-nimble-cpp/examples/NimBLE_Async_Client/main
h2zero 38e764d157 Add asyncronous client connect and MTU exchange.
* Adds parameters `asyncConnect` and `exchangeMTU` to `NimBLEClient::connect`, default values work as the original connect method.
* * `asyncConnect`; if true, will send the connect command and return immediately with a true value for successfully sending the command, else false.
* * `exchangeMTU`; if true will send the exchange MTU command upon connection, otherwise not and the application can choose to do this later via the `exchangeMTU` method.
* Adds `onMTUChange` callback to `NimBLEClientCallbacks`
* Add `NimBLEDevice::getConnectedClients()` which returns a vector of pointers to the currently connected client instances.
* Calling `NimBLEClient::connect` will no longer cancel already in progress connections.
2024-11-10 13:02:11 -07:00
..
CMakeLists.txt Add asyncronous client connect and MTU exchange. 2024-11-10 13:02:11 -07:00
component.mk Add asyncronous client connect and MTU exchange. 2024-11-10 13:02:11 -07:00
main.cpp Add asyncronous client connect and MTU exchange. 2024-11-10 13:02:11 -07:00