Skip to content

Support of Control+ Hubs and Change of BLE Library

Choose a tag to compare

@corneliusmunz corneliusmunz released this 05 Sep 22:48
· 158 commits to master since this release

With this release version the underlying BLE library changed to the https://github.com/h2zero/NimBLE-Arduino library. This library is mainly compatible with the old BLE library but have the following benefits:

  • Connection up to 9 BLE devices possible
  • Callbacks possible for member functions
  • less memory consumption

Additionally the support of Control+ Hubs are added with this release version

To connect to more than 3 devices you have to change the following settings:

Changed the setting in the /Users/<username>/Documents/Arduino/libraries/NimBLE-Arduino/src/nimconfig.h file to #define CONFIG_BT_NIMBLE_MAX_CONNECTIONS 8
Changed the setting in the /Users/<username>/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/include/config/sdkconfig.h file to #define CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN_EFF 8 and #define CONFIG_BTDM_CONTROLLER_BLE_MAX_CONN 8