nRF5 SDK for Mesh v5.0.0
Macros
Replay cache configuration.

Macros

#define REPLAY_CACHE_ENTRIES   40
 Number of entries in the replay protection cache. More...
 
#define REPLAY_CACHE_STORAGE_STRATEGY   MESH_CONFIG_STRATEGY_ON_POWER_DOWN
 Strategy for storing the replay protection cache into persistent memory. More...
 

Detailed Description

Macro Definition Documentation

◆ REPLAY_CACHE_ENTRIES

#define REPLAY_CACHE_ENTRIES   40

Number of entries in the replay protection cache.

Note
The number of entries in the replay protection list directly limits the number of elements a node can receive messages from on the current IV index. This means if your device has a replay protection list with 40 entries, a message from a 41st unicast address (element )will be dropped by the transport layer.
The replay protection list size does not affect the node's ability to relay messages.
This number is indicated in the device composition data of the node and provisioner can make use of this information to prevent unwarranted filling of the replay list on a given node in a mesh network.

Definition at line 402 of file nrf_mesh_config_core.h.

◆ REPLAY_CACHE_STORAGE_STRATEGY

#define REPLAY_CACHE_STORAGE_STRATEGY   MESH_CONFIG_STRATEGY_ON_POWER_DOWN

Strategy for storing the replay protection cache into persistent memory.

The replay protection cache is stored into the persistent memory to avoid replay protection attacks after device is power cycled.

For details, see the power-down documentation.

Definition at line 414 of file nrf_mesh_config_core.h.


Documentation feedback | Developer Zone | Subscribe | Updated