Maximum Number of Simultaneous BLE Connections on ESP32-S3

LucasFeitosa
Posts: 1
Joined: Wed Aug 06, 2025 3:55 pm

Maximum Number of Simultaneous BLE Connections on ESP32-S3

Postby LucasFeitosa » Wed Aug 06, 2025 8:59 pm

Hi,

What is the maximum number of devices that an ESP32-S3 can connect to using the GATT client API?

In the example gattc_multi_connect, it connects to 3 devices simultaneously.

Looking through the ESP-IDF codebase, I found that the ESP32 has a maximum limit of 9 simultaneous connections. The ESP32-S3 seems to share the same esp_bt.h library as the ESP32-C3. In the esp_bt_controller_config_t struct, there's a field called ble_max_act.

Code: Select all

    uint8_t ble_max_act;                    /*!< The maximum number of BLE instance. Configurable in menuconfig.
                                                - Range: 1 - 10
                                                - Default: 6 */

Is this field supposed to define the maximum number of simultaneous connections? If so, it suggests a limit of 10, but it seems this value is only checked during esp_bt_controller_init() and not actually used elsewhere, it does not really seem to limit the number of instances. So I couldn't confirm whether this is the actual maximum for the ESP32-S3.

I know that some BLE 5.0+ devices from STM and Silicon Labs support up to 32 simultaneous connections, so i want to know the real capabilities of the ESP32-S3.

I'll be running some experiments soon to try to uncover the actual maximum number simultaneuos ble connection and the impact on wifi with ble coexistence enabled. It would be great to know beforehand the official maximum number.

Thanks!

Who is online

Users browsing this forum: Qwantbot and 4 guests