CONFIG_BT_MESH_SEQ_STORE_RATE

How often the sequence number gets updated in storage

Type: int

Help

This value defines how often the local sequence number gets updated in persistent storage (i.e. flash). E.g. a value of 100 means that the sequence number will be stored to flash on every 100th increment. If the node sends messages very frequently a higher value makes more sense, whereas if the node sends infrequently a value as low as 0 (update storage for every increment) can make sense. When the stack gets initialized it will add this number to the last stored one, so that it starts off with a value that’s guaranteed to be larger than the last one used before power off.

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:446

Included via Kconfig:10Kconfig.zephyr:35subsys/Kconfig:8subsys/bluetooth/Kconfig:155subsys/bluetooth/host/Kconfig:125

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

config BT_MESH_SEQ_STORE_RATE
    int
    prompt "How often the sequence number 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 128 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 how often the local sequence number gets
      updated in persistent storage (i.e. flash). E.g. a value of 100
      means that the sequence number will be stored to flash on every
      100th increment. If the node sends messages very frequently a
      higher value makes more sense, whereas if the node sends
      infrequently a value as low as 0 (update storage for every
      increment) can make sense. When the stack gets initialized it
      will add this number to the last stored one, so that it starts
      off with a value that's guaranteed to be larger than the last
      one used before power off.

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