nRF5 SDK for Mesh v3.1.0
Macros
Provisioning Bearer Configuration

Compile time configuration of the provisioning bearers. More...

Macros

#define MESH_FEATURE_PB_ADV_ENABLED   1
 PB-ADV feature. More...
 
#define MESH_FEATURE_PB_GATT_ENABLED   0
 PB-GATT feature. More...
 
#define NRF_MESH_PROV_BEARER_ADV_UNPROV_BEACON_INTERVAL_MS   2000
 The default advertisement interval of the unprovisioned beacon. More...
 
#define NRF_MESH_PROV_BEARER_GATT_UNPROV_BEACON_INTERVAL_MS   200
 The default advertisement interval of the unprovisioned beacon. More...
 
#define NRF_MESH_PROV_BEARER_ADV_TX_BUFFER_SIZE   128
 Size of the buffer for the outgoing packet buffer for PB-ADV. More...
 

Detailed Description

Compile time configuration of the provisioning bearers.

Macro Definition Documentation

◆ MESH_FEATURE_PB_ADV_ENABLED

#define MESH_FEATURE_PB_ADV_ENABLED   1

PB-ADV feature.

This feature should normally always be enabled. Without it, a node cannot be provisioned over the advertising bearer. You can disable this feature to save power when the device is acting as a Low Power node.

Definition at line 77 of file nrf_mesh_config_prov.h.

◆ MESH_FEATURE_PB_GATT_ENABLED

#define MESH_FEATURE_PB_GATT_ENABLED   0

PB-GATT feature.

To be enabled only in combination with linking GATT files.

Definition at line 82 of file nrf_mesh_config_prov.h.

◆ NRF_MESH_PROV_BEARER_ADV_UNPROV_BEACON_INTERVAL_MS

#define NRF_MESH_PROV_BEARER_ADV_UNPROV_BEACON_INTERVAL_MS   2000

The default advertisement interval of the unprovisioned beacon.

Meant for PB-ADV.

Definition at line 87 of file nrf_mesh_config_prov.h.

◆ NRF_MESH_PROV_BEARER_GATT_UNPROV_BEACON_INTERVAL_MS

#define NRF_MESH_PROV_BEARER_GATT_UNPROV_BEACON_INTERVAL_MS   200

The default advertisement interval of the unprovisioned beacon.

Meant for PB-GATT.

Warning
If the advertisement interval is set to below 200 ms, the mesh will not be able to allocate sufficiently large timeslots for its persistent backend from the SoftDevice.

Definition at line 97 of file nrf_mesh_config_prov.h.

◆ NRF_MESH_PROV_BEARER_ADV_TX_BUFFER_SIZE

#define NRF_MESH_PROV_BEARER_ADV_TX_BUFFER_SIZE   128

Size of the buffer for the outgoing packet buffer for PB-ADV.

Definition at line 102 of file nrf_mesh_config_prov.h.


Documentation feedback | Developer Zone | Subscribe | Updated