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.
|
This file contains the headers for meshx.c. More...
#include <meshx_common.h>
#include <meshx_nvs.h>
#include <meshx_api.h>
#include <meshx_err.h>
#include <meshx_os_timer.h>
#include <meshx_elements.h>
#include <interface/meshx_platform.h>
#include <unit_test.h>
Go to the source code of this file.
Data Structures | |
struct | element_comp |
Structure for element composition. More... | |
struct | meshx_config |
Structure for MeshX configuration. More... | |
Macros | |
#define | MESHX_ERR_PRINT_RET(_e_str, _err) |
Print and return error message if an error occurs. | |
#define | CID_ESP CONFIG_CID_ID |
Typedefs | |
typedef struct element_comp | element_comp_t |
typedef struct meshx_config | meshx_config_t |
Functions | |
meshx_err_t | meshx_init (meshx_config_t const *config) |
MeshX initialisation function. | |
This file contains the headers for meshx.c.
Copyright © 2024 - 2025 MeshX
Definition in file meshx.h.
#define CID_ESP CONFIG_CID_ID |
#define MESHX_ERR_PRINT_RET | ( | _e_str, | |
_err ) |
Print and return error message if an error occurs.
This macro prints an error message and returns the error code if an error occurs.
_e_str | Error string to print |
_err | Error code to return |
Definition at line 37 of file meshx.h.
typedef struct element_comp element_comp_t |
typedef struct meshx_config meshx_config_t |
meshx_err_t meshx_init | ( | meshx_config_t const * | config | ) |
MeshX initialisation function.
This function initialises the MeshX stack with the given configuration.
[in] | config | Pointer to the configuration structure |
Definition at line 231 of file meshx.c.