28#if CONFIG_ENABLE_UNIT_TEST
41#define MESHX_ERR_PRINT_RET(_e_str, _err) \
42 if (_err != MESHX_SUCCESS) \
44 MESHX_LOGE(MODULE_ID_COMMON, _e_str " (err 0x%x)", _err); \
48#define CID_ESP CONFIG_CID_ID
struct element_comp element_comp_t
struct meshx_config meshx_config_t
meshx_err_t meshx_init(meshx_config_t const *config)
MeshX initialisation function.
Definition meshx.c:243
This file contains the API definitions for the MeshX application.
meshx_err_t(* meshx_app_data_cb_t)(const meshx_app_element_msg_header_t *msg_hdr, const meshx_data_payload_t *msg)
BLE Mesh application callback function.
Definition meshx_api.h:229
meshx_err_t(* meshx_app_ctrl_cb_t)(const meshx_ctrl_msg_header_t *msg_hdr, const meshx_ctrl_payload_t *msg)
BLE Mesh application control callback function.
Definition meshx_api.h:241
uint8_t meshx_uuid_addr_t[16]
Definition meshx_ble_mesh_cmn_def.h:649
C-compatible API for the MeshX Composition Builder.
Common application definitions and includes for BLE Mesh Node.
Header for Config Server (migrated for C++ architecture support).
meshx_err_t
MeshX Error Codes.
Definition meshx_err.h:43
Header file for MeshX Non-Volatile Storage (NVS) operations.
Header file for OS timer utilities.
Header file for provisioning related definitions and functions.
MeshX Serial Protocol (MXSP) Definitions.
MeshX Tx Control Module This header file contains the definitions and function prototypes for the Mes...
Structure for element composition.
Definition meshx.h:55
uint16_t element_cnt
Definition meshx.h:57
meshx_element_type_t type
Definition meshx.h:56
Structure for MeshX configuration.
Definition meshx.h:65
uint16_t vid
Definition meshx.h:68
uint32_t meshx_nvs_save_period
Definition meshx.h:70
uint16_t cid
Definition meshx.h:66
unsigned meshx_log_level
Definition meshx.h:75
meshx_app_ctrl_cb_t app_ctrl_cb
Definition meshx.h:74
meshx_app_data_cb_t app_element_cb
Definition meshx.h:73
uint16_t pid
Definition meshx.h:67
uint16_t element_comp_arr_len
Definition meshx.h:71
element_comp_t * element_comp_arr
Definition meshx.h:72
meshx_uuid_addr_t meshx_uuid_addr
Definition meshx.h:76
char * product_name
Definition meshx.h:69
Header file for the production console unit test functionality.