The latest development version of this page may be more current than this released 1.14.0 version.
CONFIG_BT_PERIPHERAL_PREF_TIMEOUT

Peripheral preferred supervision timeout in 10ms units

Type: int

Help

It is up to user to provide valid timeout which pass required minimum value: in milliseconds it shall be larger than “(1+ Conn_Latency) * Conn_Interval_Max * 2” where Conn_Interval_Max is given in milliseconds. Range 3200 to 65534 is invalid. 65535 represents no specific value.

Direct dependencies

BT_GAP_PERIPHERAL_PREF_PARAMS && BT_CONN && BT_HCI_HOST && BT_HCI && BT

(Includes any dependencies from if’s and menus.)

Kconfig definition

At subsys/bluetooth/host/Kconfig:432

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:8subsys/bluetooth/Kconfig:144

Menu path: (top menu) → Bluetooth

config BT_PERIPHERAL_PREF_TIMEOUT
    int
    prompt "Peripheral preferred supervision timeout in 10ms units" if BT_GAP_PERIPHERAL_PREF_PARAMS && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    range 10 65535 if BT_GAP_PERIPHERAL_PREF_PARAMS && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    default 42 if BT_GAP_PERIPHERAL_PREF_PARAMS && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    depends on BT_GAP_PERIPHERAL_PREF_PARAMS && BT_CONN && BT_HCI_HOST && BT_HCI && BT
    help
      It is up to user to provide valid timeout which pass required minimum
      value: in milliseconds it shall be larger than
      "(1+ Conn_Latency) * Conn_Interval_Max * 2"
      where Conn_Interval_Max is given in milliseconds.
      Range 3200 to 65534 is invalid. 65535 represents no specific value.

(Definitions include propagated dependencies, including from if’s and menus.)