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

Minimum frequency that the RPL gets updated in storage

Type: int

Help

This value defines in seconds how soon the RPL gets written to persistent storage after a change occurs. If the node receives messages frequently it may make sense to have this set to a large value, whereas if the RPL gets updated infrequently a value as low as 0 (write immediately) may make sense. Note that if the node operates a security sensitive use case, and there’s a risk of sudden power loss, it may be a security vulnerability to set this value to anything else than 0 (a power loss before writing to storage exposes the node to potential message replay attacks).

Direct dependencies

BT_SETTINGS && BT_MESH && BT_HCI_HOST && BT_HCI && BT

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

Defaults

Kconfig definition

At subsys/bluetooth/host/mesh/Kconfig:463

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

Menu path: (top menu) → Bluetooth → Bluetooth Mesh support

config BT_MESH_RPL_STORE_TIMEOUT
    int
    prompt "Minimum frequency that the RPL gets updated in storage" if BT_SETTINGS && BT_MESH && BT_HCI_HOST && BT_HCI && BT
    range 0 1000000 if BT_SETTINGS && BT_MESH && BT_HCI_HOST && BT_HCI && BT
    default 5 if BT_SETTINGS && BT_MESH && BT_HCI_HOST && BT_HCI && BT
    depends on BT_SETTINGS && BT_MESH && BT_HCI_HOST && BT_HCI && BT
    help
      This value defines in seconds how soon the RPL gets written to
      persistent storage after a change occurs. If the node receives
      messages frequently it may make sense to have this set to a
      large value, whereas if the RPL gets updated infrequently a
      value as low as 0 (write immediately) may make sense. Note that
      if the node operates a security sensitive use case, and there's
      a risk of sudden power loss, it may be a security vulnerability
      to set this value to anything else than 0 (a power loss before
      writing to storage exposes the node to potential message
      replay attacks).

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