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.
|
Header file for the meshxuction configuration server model. More...
#include "interface/meshx_platform.h"
#include "interface/ble_mesh/server/meshx_ble_mesh_config_srv.h"
#include "meshx_err.h"
Go to the source code of this file.
Functions | |
meshx_err_t | meshx_get_config_srv_model (void *p_model) |
Retrieves the configuration server model for the MeshX framework. | |
meshx_err_t | meshx_init_config_server (void) |
Initialize the meshxuction configuration server. | |
meshx_err_t | meshx_config_server_cb_reg (config_srv_cb_t cb, uint32_t config_evt_bmap) |
Registers a configuration server callback for specific events. | |
meshx_err_t | meshx_get_config_srv_instance (void **p_conf_srv) |
Retrieves the instance of the MeshX configuration server. | |
Header file for the meshxuction configuration server model.
Copyright © 2024 - 2025 MeshX
This file contains the definitions and function declarations for the meshxuction configuration server model used in the ESP32 BLE Mesh Node.
Definition in file meshx_config_server.h.
meshx_err_t meshx_config_server_cb_reg | ( | config_srv_cb_t | cb, |
uint32_t | config_evt_bmap ) |
Registers a configuration server callback for specific events.
Adds a new callback registration to the linked list for dispatching events.
[in] | cb | Callback function to register. |
[in] | config_evt_bmap | Bitmap of events the callback is interested in. |
Definition at line 122 of file meshx_config_server.c.
meshx_err_t meshx_get_config_srv_instance | ( | void ** | p_conf_srv | ) |
Retrieves the instance of the MeshX configuration server.
This function provides access to the configuration server instance used in the MeshX framework. The configuration server is responsible for managing and storing configuration settings for the mesh network.
[out] | p_conf_srv | Pointer to a variable where the configuration server instance will be stored. The pointer must be of type void** . |
MESHX_SUCCESS
on successful retrieval of the configuration server instance.meshx_err_t
on failure. Definition at line 151 of file meshx_config_server.c.
meshx_err_t meshx_get_config_srv_model | ( | meshx_ptr_t | p_model | ) |
Retrieves the configuration server model for the MeshX framework.
This function provides access to the configuration server model used in the MeshX implementation. The retrieved model can be used for configuring and managing the mesh network.
[out] | p_model | Pointer to a variable where the address of the configuration server model will be stored. The caller must ensure that the pointer is valid. |
MESHX_SUCCESS
on success.meshx_err_t
on failure. Definition at line 171 of file meshx_config_server.c.
meshx_err_t meshx_init_config_server | ( | void | ) |
Initialize the meshxuction configuration server.
Initialize the meshxuction configuration server.
Registers the BLE Mesh Configuration Server callback function and prepares the server for use.
Definition at line 97 of file meshx_config_server.c.