-
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¶
- 5 if
BT_SETTINGS
&&BT_MESH
&&BT_HCI_HOST
&&BT_HCI
&&BT
Kconfig definition¶
At subsys/bluetooth/host/mesh/Kconfig:462
Included via Kconfig:10
→ Kconfig.zephyr:35
→ subsys/Kconfig:8
→ subsys/bluetooth/Kconfig:155
→ subsys/bluetooth/host/Kconfig:125
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" ifBT_SETTINGS
&&BT_MESH
&&BT_HCI_HOST
&&BT_HCI
&&BT
range 0 1000000 ifBT_SETTINGS
&&BT_MESH
&&BT_HCI_HOST
&&BT_HCI
&&BT
default 5 ifBT_SETTINGS
&&BT_MESH
&&BT_HCI_HOST
&&BT_HCI
&&BT
depends onBT_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.)