MeshX 0.3
This repository provides an implementation for Bluetooth Low Energy (BLE) Mesh network nodes. The project allows you to create BLE mesh nodes that can communicate with each other, enabling the development of smart home solutions or other IoT-based applications.
|
Implementation of BLE Mesh provisioning server model for ESP32. This file contains the provisioning callback handling, control task message mapping, and provisioning parameter initialization. It facilitates the provisioning process and event handling for BLE Mesh. More...
Go to the source code of this file.
Functions | |
static void | meshx_provisioning_cb (MESHX_PROV_CB_EVT event, const MESHX_PROV_CB_PARAM *param) |
Callback function for BLE Mesh provisioning events. | |
meshx_err_t | meshx_plat_init_prov (const uint8_t *uuid) |
Initialize provisioning parameters. | |
meshx_ptr_t | meshx_plat_get_prov (void) |
Get the provisioning parameters. | |
Variables | |
static MESHX_PROV | g_meshx_prov |
Global provisioning structure. | |
Implementation of BLE Mesh provisioning server model for ESP32. This file contains the provisioning callback handling, control task message mapping, and provisioning parameter initialization. It facilitates the provisioning process and event handling for BLE Mesh.
Copyright (c) 2024 - 2025 MeshX
Definition in file esp_prov_srv_model.c.
meshx_ptr_t meshx_plat_get_prov | ( | void | ) |
Get the provisioning parameters.
This function returns a pointer to the global provisioning parameters.
Definition at line 78 of file esp_prov_srv_model.c.
meshx_err_t meshx_plat_init_prov | ( | const uint8_t * | uuid | ) |
Initialize provisioning parameters.
This function initializes the provisioning parameters by copying the UUID from the provided server configuration and registering the provisioning callback.
uuid | Pointer to the UUID of the device. |
Definition at line 59 of file esp_prov_srv_model.c.
|
static |
Callback function for BLE Mesh provisioning events.
This function is called whenever a BLE Mesh provisioning event occurs.
event | The provisioning event type. |
param | Pointer to the provisioning event parameters. |
Definition at line 31 of file esp_prov_srv_model.c.
|
static |
Global provisioning structure.
This structure holds the global provisioning configuration.
Definition at line 21 of file esp_prov_srv_model.c.