From ac9bd8bcc4751e6972874dc874fd79a28997908b Mon Sep 17 00:00:00 2001 From: Prasad Alatkar Date: Mon, 1 Feb 2021 21:14:39 +0530 Subject: [PATCH] NimBLE: Add max connection config option for ESP32C3 --- components/bt/host/nimble/Kconfig.in | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/components/bt/host/nimble/Kconfig.in b/components/bt/host/nimble/Kconfig.in index 78ccebefc6..ec6d2a397a 100644 --- a/components/bt/host/nimble/Kconfig.in +++ b/components/bt/host/nimble/Kconfig.in @@ -72,11 +72,15 @@ config BT_NIMBLE_LOG_LEVEL config BT_NIMBLE_MAX_CONNECTIONS int "Maximum number of concurrent connections" - range 1 9 - default BTDM_CTRL_BLE_MAX_CONN + range 1 8 if (IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3) + range 1 9 if IDF_TARGET_ESP32 + default 3 depends on BT_NIMBLE_ENABLED help - Defines maximum number of concurrent BLE connections + Defines maximum number of concurrent BLE connections. For ESP32, user + is expected to configure BTDM_CTRL_BLE_MAX_CONN from controller menu + along with this option. Similarly for ESP32-C3 or ESP32-S3, user is expected to + configure BT_CTRL_BLE_MAX_ACT from controller menu. config BT_NIMBLE_MAX_BONDS int "Maximum number of bonds to save across reboots"