Application Development Flow#

The following figure describes the high-level firmware structure. The developer creates an application on top of the stack, which Silicon Labs provides as a precompiled object-file, enabling the Bluetooth Mesh connectivity for the end-device. The application for Bluetooth Mesh has typically been running on bare metal, but starting from Simplicity SDK 2024.12 there has been OS support with selected RTOS examples for FreeRTOS and Micrium OS.

Firmware ArchitectureFirmware Architecture

The Bluetooth Mesh stack contains the following blocks:

Application Build Flow#

Bluetooth Mesh Project Build FlowBluetooth Mesh Project Build Flow

Building a Bluetooth Mesh project starts with selecting the right base project that is to be generated and adding any extra required components. Models and elements can be added to the project using the Bluetooth Mesh Configurator. If the GATT bearer is used, the Bluetooth Mesh services and characteristics can be viewed just like any other GATT services and characteristics in the Bluetooth GATT Configurator. For more information on the Bluetooth GATT Configurator and Bluetooth application development, see Getting Started with Silicon Labs Bluetooth LE Development.

Compiling the project generates an object file, which is then linked with the pre-compiled libraries provided in the SDK. The output of the linking is a flash image that can be programmed to the supported Wireless Gecko devices.

Bluetooth Mesh API documentation#

The Bluetooth Mesh API documentation can be found in HTML format along with all Application Notes and User Guide pdf files on the Simplicity Studio's DOCUMENTATION tab:

Bluetooth DOCUMENTATIONBluetooth DOCUMENTATION

The API reference is under Silicon Labs Bluetooth Mesh API Reference Guide.

Bluetooth Mesh API ReferenceBluetooth Mesh API Reference

Bluetooth Mesh Application Build Flow#

Following the Simplicity Studio v5 software approach, the Bluetooth Mesh stack is configured using components. Typically, items such as models, stack parameters, and features can be tuned through the SOFTWARE COMPONENTS menu. All component dependencies are handled internally by Simplicity Studio. Components and models can be configured, added, or removed.

Bluetooth Mesh Configurable ComponentBluetooth Mesh Configurable Component

Installing a model is shown in the following figure.

Bluetooth Mesh Model InstallationBluetooth Mesh Model Installation