CONFIG_MCUMGR_SMP_BT_LATENCY_CONTROL_RESTORE_TIME

Connection latency restore time in milliseconds

Type: int

Help

The value is a time after which connection latency is restored
to default value
(:kconfig:`MCUMGR_SMP_BT_LATENCY_CONTROL_DEFAULT_LATENCY`). Latency
restoration time could take up to twice as long as specified time.
This is because of limiting CPU time needed to support this feature.
The implementation periodically checks if the low latency is still
needed every :kconfig:`MCUMGR_SMP_BT_LATENCY_CONTROL_RESTORE_TIME`.
The default latency is restored during check only if there was no SMP
command exchanged in period before the check

Direct dependencies

MCUMGR_SMP_BT_LATENCY_CONTROL && MCUMGR_SMP_BT && MCUMGR

(Includes any dependencies from ifs and menus.)

Default

  • 5000

Kconfig definition

At <Subsystem>/mgmt/mcumgr/Kconfig:392

Included via Kconfig:8Kconfig.zephyr:44<Subsystem>/Kconfig:35<Subsystem>/mgmt/Kconfig:9

Menu path: (Top) → Sub Systems and OS Services → Device Management → mcumgr Support → Bluetooth mcumgr SMP transport → Request low latency connection when handling SMP commands

config MCUMGR_SMP_BT_LATENCY_CONTROL_RESTORE_TIME
    int "Connection latency restore time in milliseconds"
    range 1 65535
    default 5000
    depends on MCUMGR_SMP_BT_LATENCY_CONTROL && MCUMGR_SMP_BT && MCUMGR
    help
      The value is a time after which connection latency is restored
      to default value
      (:kconfig:`MCUMGR_SMP_BT_LATENCY_CONTROL_DEFAULT_LATENCY`). Latency
      restoration time could take up to twice as long as specified time.
      This is because of limiting CPU time needed to support this feature.
      The implementation periodically checks if the low latency is still
      needed every :kconfig:`MCUMGR_SMP_BT_LATENCY_CONTROL_RESTORE_TIME`.
      The default latency is restored during check only if there was no SMP
      command exchanged in period before the check

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