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

(Includes any dependencies from ifs and menus.)

Default

  • 128

Kconfig definition

At subsys/bluetooth/mesh/Kconfig:471

Included via Kconfig:8Kconfig.zephyr:41subsys/Kconfig:6subsys/bluetooth/Kconfig:171

Menu path: (Top) → Bluetooth → Bluetooth Mesh support

config BT_MESH_SEQ_STORE_RATE
    int "How often the sequence number gets updated in storage"
    range 0 1000000
    default 128
    depends on BT_SETTINGS && BT_MESH && 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.

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