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 <Zephyr>/subsys/bluetooth/host/Kconfig.gatt:181

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:9<Zephyr>/subsys/bluetooth/Kconfig:306<Zephyr>/subsys/bluetooth/host/Kconfig:450

Menu path: (Top) → Sub Systems and OS Services → 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.)