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 ifs and menus.)

Default

  • 42

Kconfig definition

At subsys/bluetooth/host/Kconfig.gatt:124

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:6subsys/bluetooth/Kconfig:160subsys/bluetooth/host/Kconfig:430

Menu path: (Top) → Bluetooth → ATT and GATT Options → Configure peripheral preferred connection parameters

config BT_PERIPHERAL_PREF_TIMEOUT
    int "Peripheral preferred supervision timeout in 10ms units"
    range 10 65535
    default 42
    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.

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