The latest development version of this page may be more current than this released 2.6.1-rc1 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

(Includes any dependencies from ifs and menus.)

Default

  • 5

Kconfig definition

At subsys/bluetooth/mesh/Kconfig:697

Included via Kconfig:8Kconfig.zephyr:34subsys/Kconfig:9subsys/bluetooth/Kconfig:325

Menu path: (Top) → Sub Systems and OS Services → Bluetooth → Bluetooth Mesh support

config BT_MESH_RPL_STORE_TIMEOUT
    int "Minimum frequency that the RPL gets updated in storage"
    range 0 1000000
    default 5
    depends on BT_SETTINGS && BT_MESH && 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).

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