nRF5 SDK for Mesh v5.0.0
Macros
Friendship configuration defines

Macros

#define MESH_FEATURE_LPN_ENABLED   0
 LPN feature.
 
#define MESH_FEATURE_LPN_ACT_AS_REGULAR_NODE_OUT_OF_FRIENDSHIP   0
 Allow a node with the LPN feature to participate in a mesh network as a regular node when the friendship is not established. More...
 
#define MESH_FEATURE_FRIEND_ENABLED   0
 Friend feature. More...
 
#define MESH_FRIEND_FRIENDSHIP_COUNT   2
 Number of friendships supported simultaneously. More...
 
#define MESH_FRIEND_SUBLIST_SIZE   16
 Size of the Friend Subscription List (per friendship). More...
 
#define MESH_FRIEND_QUEUE_SIZE   35
 Size of the Friend Queue (per friendship). More...
 

Detailed Description

Macro Definition Documentation

◆ MESH_FEATURE_LPN_ACT_AS_REGULAR_NODE_OUT_OF_FRIENDSHIP

#define MESH_FEATURE_LPN_ACT_AS_REGULAR_NODE_OUT_OF_FRIENDSHIP   0

Allow a node with the LPN feature to participate in a mesh network as a regular node when the friendship is not established.

Note
When this option is used, the scanner and advertising network beacons are enabled, and the power consumption of the node is increased until a friendship is established.

Definition at line 573 of file nrf_mesh_config_core.h.

◆ MESH_FEATURE_FRIEND_ENABLED

#define MESH_FEATURE_FRIEND_ENABLED   0

Friend feature.

Definition at line 578 of file nrf_mesh_config_core.h.

◆ MESH_FRIEND_FRIENDSHIP_COUNT

#define MESH_FRIEND_FRIENDSHIP_COUNT   2

Number of friendships supported simultaneously.

Definition at line 583 of file nrf_mesh_config_core.h.

◆ MESH_FRIEND_SUBLIST_SIZE

#define MESH_FRIEND_SUBLIST_SIZE   16

Size of the Friend Subscription List (per friendship).

Definition at line 588 of file nrf_mesh_config_core.h.

◆ MESH_FRIEND_QUEUE_SIZE

#define MESH_FRIEND_QUEUE_SIZE   35

Size of the Friend Queue (per friendship).

Note
Set the queue size to a value higher than 32 to be able to receive at least one of the longest segmented messages and one or more of the unsegmented messages.

Definition at line 596 of file nrf_mesh_config_core.h.


Documentation feedback | Developer Zone | Subscribe | Updated