21#if CONFIG_RELAY_SERVER_COUNT
25#if CONFIG_RELAY_CLIENT_COUNT
29#if CONFIG_LIGHT_CWWW_SRV_COUNT
33#if CONFIG_LIGHT_CWWW_CLIENT_COUNT
37#if CONFIG_SECTION_ENABLE_ELEMENT_TABLE
38#define MESHX_ELEMENT_COMP_TABLE_START _element_table_start
39#define MESHX_ELEMENT_COMP_TABLE_STOP _element_table_end
47#if CONFIG_RELAY_SERVER_COUNT
50#if CONFIG_RELAY_CLIENT_COUNT
53#if CONFIG_LIGHT_CWWW_SRV_COUNT
56#if CONFIG_LIGHT_CWWW_CLIENT_COUNT
71#if CONFIG_ENABLE_CONFIG_SERVER
74#if CONFIG_ENABLE_LIGHT_CTL_SERVER
184#if CONFIG_MAX_ELEMENT_COUNT > 0
186#if CONFIG_SECTION_ENABLE_ELEMENT_TABLE
196#if !CONFIG_SECTION_ENABLE_ELEMENT_TABLE
element_comp_fn_t element_comp_fn[MESHX_ELEMENT_TYPE_MAX]
MESHX_MODEL * get_root_sig_models(void)
Returns the root models for BLE Mesh elements.
size_t get_root_ven_models_count(void)
Returns the count of the vendor root models.
static root_model_getfn_t meshx_sig_root_model_getfn[]
static uint16_t meshx_sig_root_model_arr_len
static uint16_t meshx_ven_root_model_arr_len
static MESHX_MODEL * meshx_ven_root_model_arr
size_t get_root_sig_models_count(void)
Returns the count of the root models.
static root_model_getfn_t meshx_ven_root_model_getfn[]
MESHX_MODEL * get_root_ven_models(void)
Returns the root models for BLE Mesh elements.
meshx_err_t(* root_model_getfn_t)(void *p_model)
static MESHX_MODEL * meshx_sig_root_model_arr
meshx_err_t meshx_create_element_composition(dev_struct_t *p_dev, meshx_config_t const *config)
Creates the BLE Mesh element composition.
This file contains the headers for meshx.c.
struct meshx_config meshx_config_t
#define MESHX_ERR_PRINT_RET(_e_str, _err)
Print and return error message if an error occurs.
@ MESHX_ELEMENT_TYPE_LIGHT_CWWW_CLIENT
@ MESHX_ELEMENT_TYPE_RELAY_CLIENT
@ MESHX_ELEMENT_TYPE_LIGHT_CWWW_SERVER
@ MESHX_ELEMENT_TYPE_RELAY_SERVER
#define MESHX_ARRAY_SIZE(_arr)
This header file defines the provisioning server interface for the MeshX BLE Mesh stack....
Common application definitions and includes for BLE Mesh Node.
struct element_comp_table element_comp_table_t
struct dev_struct dev_struct_t
Structure representing the device composition and elements.
meshx_err_t(* element_comp_fn_t)(dev_struct_t *pdev, uint16_t element_cnt)
MeshX Compostion init Function Pointer.
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.
Header file for CWWW Server Model.
meshx_err_t meshx_create_cwww_elements(dev_struct_t *pdev, uint16_t element_cnt)
Create Dynamic CWWW Server Model Elements.
meshx_err_t
MeshX Error Codes.
meshx_err_t meshx_get_ctl_setup_srv_model(meshx_ptr_t p_model)
Retrieves the CTL (Color Temperature Lightness) Setup Server model instance.
Implementation of the CW-WW (Cool White - Warm White) client model for BLE Mesh.
meshx_err_t create_cwww_client_elements(dev_struct_t *pdev, uint16_t element_cnt)
Create Dynamic CW-WW Model Elements.
#define MESHX_LOGE(module_id, format,...)
Header file for the Relay Client Model in BLE Mesh.
meshx_err_t create_relay_client_elements(dev_struct_t *pdev, uint16_t element_cnt)
Create Dynamic Relay Model Elements.
Header file for the Relay Server Model.
meshx_err_t meshx_create_relay_elements(dev_struct_t *pdev, uint16_t element_cnt)
Create Dynamic Relay Model Elements.
Structure to store element composition functions.
element_comp_fn_t element_comp_fn
meshx_element_type_t type
uint16_t element_comp_arr_len
element_comp_t * element_comp_arr