|
MeshX 0.4
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.
|
Header file for provisioning related definitions and functions. More...
#include "interface/meshx_platform.h"#include "interface/ble_mesh/server/meshx_ble_mesh_prov_srv.h"Go to the source code of this file.
Functions | |
| meshx_err_t | meshx_init_prov (dev_struct_t *p_dev, const meshx_prov_params_t *prov_cfg) |
| Initialize provisioning parameters. | |
| meshx_err_t | meshx_prov_srv_reg_el_client_cb (prov_srv_cb_t cb) |
| Register a callback function for provisioning events. | |
| meshx_err_t | meshx_prov_srv_reg_el_server_cb (prov_srv_cb_t cb) |
| Register a callback function for provisioning events. | |
Header file for provisioning related definitions and functions.
Copyright © 2024 - 2025 MeshX
This file contains the definitions and function declarations for provisioning in the BLE mesh node application.
| meshx_err_t meshx_init_prov | ( | dev_struct_t * | p_dev, |
| const meshx_prov_params_t * | prov_cfg ) |
Initialize provisioning parameters.
This function initializes the provisioning parameters by copying the UUID from the provided server configuration and registering the provisioning callback.
| [in] | p_dev | Pointer to the device structure. |
| [in] | prov_cfg | Pointer to the provisioning parameters structure containing the UUID. |
| meshx_err_t meshx_prov_srv_reg_el_client_cb | ( | prov_srv_cb_t | cb | ) |
Register a callback function for provisioning events.
This function registers a callback function that will be called when certain provisioning events occur.
| [in] | cb | The callback function to register. |
| meshx_err_t meshx_prov_srv_reg_el_server_cb | ( | prov_srv_cb_t | cb | ) |
Register a callback function for provisioning events.
This function registers a callback function that will be called when certain provisioning events occur.
| [in] | cb | The callback function to register. |