CONFIG_BT_MAX_CONN

Maximum number of simultaneous connections

Type: int

Help

Maximum number of simultaneous Bluetooth connections
supported.

Direct dependencies

BT || (BT_CONN && BT_HCI && BT)

(Includes any dependencies from ifs and menus.)

Kconfig definitions

At <nRF>/subsys/bluetooth/Kconfig:14

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:31<Zephyr>/modules/Kconfig:6<nRF>/doc/_build/kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:54<nRF>/subsys/Kconfig:10

Menu path: (Top) → Modules → nrf (/home/runner/work/sdk-nrf/sdk-nrf/ncs/nrf) → Nordic nRF Connect → Bluetooth Low Energy

config BT_MAX_CONN
    int
    range 2 20 if BT_LL_SOFTDEVICE && BT_CENTRAL && BT_PERIPHERAL
    range 1 20 if BT_LL_SOFTDEVICE
    default 2 if BT_LL_SOFTDEVICE && BT_CENTRAL && BT_PERIPHERAL
    depends on BT

At <Zephyr>/subsys/bluetooth/Kconfig:190

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:42<Zephyr>/subsys/Kconfig:9

Menu path: (Top) → Sub Systems and OS Services → Bluetooth

config BT_MAX_CONN
    int "Maximum number of simultaneous connections"
    range 1 64
    default 1
    depends on BT_CONN && BT_HCI && BT
    help
      Maximum number of simultaneous Bluetooth connections
      supported.

(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)