This is the documentation for the latest (main) development branch of Zephyr. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

CONFIG_BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN

Maximum length of antenna switch pattern

Type: int

Help

Defines maximum length of antenna switch pattern that controller
is able to store. For nRF5x-based controllers, the hardware imposes
the value is within range 3 to 40, where last value is maximum.
For general use cases Bluetooth Core 5.1 spec. required the value
to be within range 2 up to 75.

Direct dependencies

BT_CTLR_DF && BT_CTLR && BT_HCI && BT

(Includes any dependencies from ifs and menus.)

Default

  • 12

Kconfig definition

At subsys/bluetooth/controller/Kconfig.df:125

Included via Kconfig:8Kconfig.zephyr:42subsys/Kconfig:9subsys/bluetooth/Kconfig:324subsys/bluetooth/controller/Kconfig:643

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Bluetooth Controller → LE Direction Finding [Experimental]

config BT_CTLR_DF_MAX_ANT_SW_PATTERN_LEN
    int "Maximum length of antenna switch pattern"
    range 3 39 if SOC_COMPATIBLE_NRF
    range 2 75 if !SOC_COMPATIBLE_NRF
    default 12
    depends on BT_CTLR_DF && BT_CTLR && BT_HCI && BT
    help
      Defines maximum length of antenna switch pattern that controller
      is able to store. For nRF5x-based controllers, the hardware imposes
      the value is within range 3 to 40, where last value is maximum.
      For general use cases Bluetooth Core 5.1 spec. required the value
      to be within range 2 up to 75.

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