CONFIG_BT_SCAN_CONN_ATTEMPTS_COUNT

Connection attempts count

Type: int

Help

Connection attempts count. Defines how many times the device will try to connect with a given peripheral.

Direct dependencies

BT_SCAN_CONN_ATTEMPTS_FILTER && BT_SCAN && BT

(Includes any dependencies from ifs and menus.)

Default

  • 2

Kconfig definition

At <nRF>/subsys/bluetooth/Kconfig.scan:134

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:23<Zephyr>/modules/Kconfig:6<BuildDir>/Kconfig/Kconfig.modules:2<nRF>/Kconfig.nrf:25<nRF>/subsys/Kconfig:10<nRF>/subsys/bluetooth/Kconfig:27

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

config BT_SCAN_CONN_ATTEMPTS_COUNT
    int "Connection attempts count"
    default 2
    depends on BT_SCAN_CONN_ATTEMPTS_FILTER && BT_SCAN && BT
    help
      Connection attempts count. Defines how many times the device will
      try to connect with a given peripheral.

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