Logo
Explore Help
Sign In
h2zero/esp-nimble-cpp
1
0
Fork 1
You've already forked esp-nimble-cpp
mirror of https://github.com/h2zero/esp-nimble-cpp.git synced 2026-01-26 09:02:21 +01:00
Code Issues Packages Projects Releases Wiki Activity
Files
sr-timer
esp-nimble-cpp/examples/NimBLE_Async_Client/sdkconfig.defaults

13 lines
258 B
Plaintext
Raw Permalink Normal View History

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-10-29 13:50:12 -06:00
# Override some defaults so BT stack is enabled
# in this example
#
# BT config
#
CONFIG_BT_ENABLED=y
CONFIG_BTDM_CTRL_MODE_BLE_ONLY=y
CONFIG_BTDM_CTRL_MODE_BR_EDR_ONLY=n
CONFIG_BTDM_CTRL_MODE_BTDM=n
CONFIG_BT_BLUEDROID_ENABLED=n
CONFIG_BT_NIMBLE_ENABLED=y
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 18ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API