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.
Loading...
Searching...
No Matches
meshx_composition.cpp File Reference

Implementation of MeshX Dynamic Composition Manager. More...

#include <meshx_composition.hpp>
#include <meshx_element_factory.hpp>
#include <meshx_element_class.hpp>
#include <meshx_model_class.hpp>
#include <meshx_element_registry.hpp>
#include <cstring>

Functions

meshx_err_t meshx_init_config_server (void)

Detailed Description

Implementation of MeshX Dynamic Composition Manager.

Author
Pranjal Chanda
Date
2024-2025

Function Documentation

◆ meshx_init_config_server()

meshx_err_t meshx_init_config_server ( void )

Forward declarations for legacy platform initialization

Legacy support for Config Server initialization and callback registration. These are provided to support the transition away from elements_c.

285{
286#if CONFIG_ENABLE_CONFIG_SERVER
287 /* In the new architecture, the config server is initialized as part of the root element models.
288 * We just need to ensure the platform layer is initialized.
289 */
291#else
292 return MESHX_NOT_SUPPORTED;
293#endif
294}
meshx_err_t meshx_plat_config_srv_init(void)
Initializes the MeshX platform configuration server.
@ MESHX_NOT_SUPPORTED
Definition meshx_err.h:51