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.
Loading...
Searching...
No Matches
meshx_platform_ble_mesh.h File Reference

Header file for MeshX BLE Mesh platform abstraction layer. This file provides type definitions and macros to map MeshX BLE Mesh components to ESP-IDF BLE Mesh APIs. More...

#include "stdio.h"
#include "stdint.h"
#include "sdkconfig.h"
#include "esp_ble_mesh_defs.h"
#include "esp_ble_mesh_common_api.h"
#include "esp_ble_mesh_networking_api.h"
#include "esp_ble_mesh_local_data_operation_api.h"
#include "esp_ble_mesh_provisioning_api.h"
#include "esp_ble_mesh_config_model_api.h"
#include "esp_ble_mesh_generic_model_api.h"
#include "esp_ble_mesh_lighting_model_api.h"
Include dependency graph for meshx_platform_ble_mesh.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MESHX_COMPOSITION   esp_ble_mesh_comp_t
 
#define MESHX_ELEMENT   esp_ble_mesh_elem_t
 
#define MESHX_MODEL   esp_ble_mesh_model_t
 
#define MESHX_CLIENT   esp_ble_mesh_client_t
 
#define MESHX_MODEL_PUB   esp_ble_mesh_model_pub_t
 
#define MESHX_PROV   esp_ble_mesh_prov_t
 
#define MESHX_PROV_CB   esp_ble_mesh_prov_cb_t
 
#define MESHX_PROV_CB_EVT   esp_ble_mesh_prov_cb_event_t
 
#define MESHX_PROV_CB_PARAM   esp_ble_mesh_prov_cb_param_t
 
#define MESHX_CFG_SRV   esp_ble_mesh_cfg_srv_t
 
#define MESHX_GEN_SRV_CB   esp_ble_mesh_generic_server_cb_t
 
#define MESHX_GEN_SRV_CB_EVT   esp_ble_mesh_generic_server_cb_event_t
 
#define MESHX_GEN_SRV_CB_PARAM   esp_ble_mesh_generic_server_cb_param_t
 
#define MESHX_GEN_ONOFF_SRV   esp_ble_mesh_gen_onoff_srv_t
 
#define MESHX_LIGHT_SRV_CB   esp_ble_mesh_lighting_server_cb_t
 
#define MESHX_LIGHT_SRV_CB_EVT   esp_ble_mesh_lighting_server_cb_event_t
 
#define MESHX_LIGHT_SRV_CB_PARAM   esp_ble_mesh_lighting_server_cb_param_t
 
#define MESHX_LIGHT_CTL_SRV   esp_ble_mesh_light_ctl_srv_t
 
#define MESHX_LIGHT_CTL_SETUP_SRV   esp_ble_mesh_light_ctl_setup_srv_t
 
#define MESHX_LIGHT_CTL_STATE   esp_ble_mesh_light_ctl_state_t
 
#define MESHX_CLI   esp_ble_mesh_client_t
 
#define MESHX_GEN_CLI_CB   esp_ble_mesh_generic_client_cb_t
 
#define MESHX_GEN_CLI_CB_EVT   esp_ble_mesh_generic_client_cb_event_t
 
#define MESHX_GEN_CLI_CB_PARAM   esp_ble_mesh_generic_client_cb_param_t
 
#define MESHX_GEN_ONOFF_CLI   esp_ble_mesh_gen_onoff_cli_t
 
#define MESHX_GEN_LIGHT_CTL_CLI   esp_ble_mesh_light_ctl_cli_t
 
#define MESHX_GEN_LIGHT_CTL_STATE_CLI   esp_ble_mesh_light_ctl_state_cli_t
 
#define MESHX_GEN_LIGHT_CLI_CB   esp_ble_mesh_light_client_cb_t
 
#define MESHX_GEN_LIGHT_CLI_CB_EVT   esp_ble_mesh_light_client_cb_event_t
 
#define MESHX_GEN_LIGHT_CLI_CB_PARAM   esp_ble_mesh_light_client_cb_param_t
 

Detailed Description

Header file for MeshX BLE Mesh platform abstraction layer. This file provides type definitions and macros to map MeshX BLE Mesh components to ESP-IDF BLE Mesh APIs.

Copyright (c) 2024 - 2025 MeshX

Author
Pranjal Chanda

Definition in file meshx_platform_ble_mesh.h.

Macro Definition Documentation

◆ MESHX_CFG_SRV

#define MESHX_CFG_SRV   esp_ble_mesh_cfg_srv_t

Definition at line 45 of file meshx_platform_ble_mesh.h.

◆ MESHX_CLI

#define MESHX_CLI   esp_ble_mesh_client_t

MESHX_CLIENT_MODELS

Definition at line 64 of file meshx_platform_ble_mesh.h.

◆ MESHX_CLIENT

#define MESHX_CLIENT   esp_ble_mesh_client_t

Definition at line 35 of file meshx_platform_ble_mesh.h.

◆ MESHX_COMPOSITION

#define MESHX_COMPOSITION   esp_ble_mesh_comp_t

MESHX_COMMONS

Definition at line 32 of file meshx_platform_ble_mesh.h.

◆ MESHX_ELEMENT

#define MESHX_ELEMENT   esp_ble_mesh_elem_t

Definition at line 33 of file meshx_platform_ble_mesh.h.

◆ MESHX_GEN_CLI_CB

#define MESHX_GEN_CLI_CB   esp_ble_mesh_generic_client_cb_t

Definition at line 65 of file meshx_platform_ble_mesh.h.

◆ MESHX_GEN_CLI_CB_EVT

#define MESHX_GEN_CLI_CB_EVT   esp_ble_mesh_generic_client_cb_event_t

Definition at line 66 of file meshx_platform_ble_mesh.h.

◆ MESHX_GEN_CLI_CB_PARAM

#define MESHX_GEN_CLI_CB_PARAM   esp_ble_mesh_generic_client_cb_param_t

Definition at line 67 of file meshx_platform_ble_mesh.h.

◆ MESHX_GEN_LIGHT_CLI_CB

#define MESHX_GEN_LIGHT_CLI_CB   esp_ble_mesh_light_client_cb_t

Definition at line 72 of file meshx_platform_ble_mesh.h.

◆ MESHX_GEN_LIGHT_CLI_CB_EVT

#define MESHX_GEN_LIGHT_CLI_CB_EVT   esp_ble_mesh_light_client_cb_event_t

Definition at line 73 of file meshx_platform_ble_mesh.h.

◆ MESHX_GEN_LIGHT_CLI_CB_PARAM

#define MESHX_GEN_LIGHT_CLI_CB_PARAM   esp_ble_mesh_light_client_cb_param_t

Definition at line 74 of file meshx_platform_ble_mesh.h.

◆ MESHX_GEN_LIGHT_CTL_CLI

#define MESHX_GEN_LIGHT_CTL_CLI   esp_ble_mesh_light_ctl_cli_t

Definition at line 70 of file meshx_platform_ble_mesh.h.

◆ MESHX_GEN_LIGHT_CTL_STATE_CLI

#define MESHX_GEN_LIGHT_CTL_STATE_CLI   esp_ble_mesh_light_ctl_state_cli_t

Definition at line 71 of file meshx_platform_ble_mesh.h.

◆ MESHX_GEN_ONOFF_CLI

#define MESHX_GEN_ONOFF_CLI   esp_ble_mesh_gen_onoff_cli_t

Definition at line 69 of file meshx_platform_ble_mesh.h.

◆ MESHX_GEN_ONOFF_SRV

#define MESHX_GEN_ONOFF_SRV   esp_ble_mesh_gen_onoff_srv_t

Definition at line 50 of file meshx_platform_ble_mesh.h.

◆ MESHX_GEN_SRV_CB

#define MESHX_GEN_SRV_CB   esp_ble_mesh_generic_server_cb_t

Definition at line 47 of file meshx_platform_ble_mesh.h.

◆ MESHX_GEN_SRV_CB_EVT

#define MESHX_GEN_SRV_CB_EVT   esp_ble_mesh_generic_server_cb_event_t

Definition at line 48 of file meshx_platform_ble_mesh.h.

◆ MESHX_GEN_SRV_CB_PARAM

#define MESHX_GEN_SRV_CB_PARAM   esp_ble_mesh_generic_server_cb_param_t

Definition at line 49 of file meshx_platform_ble_mesh.h.

◆ MESHX_LIGHT_CTL_SETUP_SRV

#define MESHX_LIGHT_CTL_SETUP_SRV   esp_ble_mesh_light_ctl_setup_srv_t

Definition at line 57 of file meshx_platform_ble_mesh.h.

◆ MESHX_LIGHT_CTL_SRV

#define MESHX_LIGHT_CTL_SRV   esp_ble_mesh_light_ctl_srv_t

Definition at line 56 of file meshx_platform_ble_mesh.h.

◆ MESHX_LIGHT_CTL_STATE

#define MESHX_LIGHT_CTL_STATE   esp_ble_mesh_light_ctl_state_t

Definition at line 58 of file meshx_platform_ble_mesh.h.

◆ MESHX_LIGHT_SRV_CB

#define MESHX_LIGHT_SRV_CB   esp_ble_mesh_lighting_server_cb_t

Definition at line 52 of file meshx_platform_ble_mesh.h.

◆ MESHX_LIGHT_SRV_CB_EVT

#define MESHX_LIGHT_SRV_CB_EVT   esp_ble_mesh_lighting_server_cb_event_t

Definition at line 53 of file meshx_platform_ble_mesh.h.

◆ MESHX_LIGHT_SRV_CB_PARAM

#define MESHX_LIGHT_SRV_CB_PARAM   esp_ble_mesh_lighting_server_cb_param_t

Definition at line 54 of file meshx_platform_ble_mesh.h.

◆ MESHX_MODEL

#define MESHX_MODEL   esp_ble_mesh_model_t

Definition at line 34 of file meshx_platform_ble_mesh.h.

◆ MESHX_MODEL_PUB

#define MESHX_MODEL_PUB   esp_ble_mesh_model_pub_t

Definition at line 36 of file meshx_platform_ble_mesh.h.

◆ MESHX_PROV

#define MESHX_PROV   esp_ble_mesh_prov_t

MESHX_SERVER_MODELS

Definition at line 41 of file meshx_platform_ble_mesh.h.

◆ MESHX_PROV_CB

#define MESHX_PROV_CB   esp_ble_mesh_prov_cb_t

Definition at line 42 of file meshx_platform_ble_mesh.h.

◆ MESHX_PROV_CB_EVT

#define MESHX_PROV_CB_EVT   esp_ble_mesh_prov_cb_event_t

Definition at line 43 of file meshx_platform_ble_mesh.h.

◆ MESHX_PROV_CB_PARAM

#define MESHX_PROV_CB_PARAM   esp_ble_mesh_prov_cb_param_t

Definition at line 44 of file meshx_platform_ble_mesh.h.