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:9<BuildDir>/Kconfig/Kconfig.modules:1<nRF>/Kconfig.nrf:25<nRF>/subsys/Kconfig:10<nRF>/subsys/bluetooth/Kconfig:27

Menu path: (Top) → Modules → 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.)