Configuring Bluetooth mesh in nRF Connect SDK

The Bluetooth® mesh support is controlled by CONFIG_BT_MESH, which depends on the following configuration options:

Optional features configuration

Optional features in the Bluetooth mesh stack must be explicitly enabled:

The persistent storage of the Bluetooth mesh provisioning and configuration data is enabled by CONFIG_BT_SETTINGS. See the Persistent storage section of Bluetooth Stack Architecture for details.

Mesh models

The nRF Connect SDK Bluetooth mesh model implementations are optional features, and each model has individual Kconfig options that must be explicitly enabled. See Bluetooth mesh models for details.

Additional configuration options

This section lists additional configuration options that can be used to configure behavior and performance of Bluetooth mesh.

  • CONFIG_SOC_FLASH_NRF_PARTIAL_ERASE - Enables partial erase on supported hardware platforms. Partial erase allows the flash page erase operation to be split into several small chunks preventing longer CPU stalls. This improves responsiveness of a mesh node during the defragmentation of storage areas used by the settings subsystem.