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.
|
Main application file. More...
#include "meshx.h"
Go to the source code of this file.
Macros | |
#define | CONFIG_MESHX_NVS_SAVE_PERIOD_MS 1000 |
Functions | |
static meshx_err_t | meshx_app_data_cb (const meshx_app_element_msg_header_t *msg_hdr, const meshx_data_payload_t *data_payload_u) |
static meshx_err_t | meshx_app_ctrl_cb (const meshx_ctrl_msg_header_t *msg_hdr, const meshx_ctrl_payload_t *msg) |
void | CONFIG_APP_MAIN (void) |
Main application entry point. | |
Variables | |
static element_comp_t | element_comp_arr [] |
Array of element components with their respective types and counts. | |
static const meshx_config_t | meshx_config |
Configuration for the MeshX library. | |
Main application file.
Copyright © 2024 - 2025 MeshX
This file contains the entry point for the application which initializes the MeshX library and handles any initialization errors.
Definition in file main.c.
void CONFIG_APP_MAIN | ( | void | ) |
Main application entry point.
This function initializes the MeshX library and logs an error message if the initialization fails.
Definition at line 52 of file main.c.
|
static |
|
static |
Definition at line 64 of file main.c.
|
static |
Array of element components with their respective types and counts.
This array holds the configuration for different types of elements in the MeshX application. Each entry in the array consists of an element type and the corresponding count defined in the configuration.
Definition at line 24 of file main.c.
|
static |
Configuration for the MeshX library.
Definition at line 34 of file main.c.