|
MeshX 0.4
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.
|
Implementation of Generic Battery Model for MeshX. More...
Go to the source code of this file.
Data Structures | |
| struct | meshx_gen_battery_model_state |
| Structure to hold the Battery model state. More... | |
| struct | meshx_gen_battery_send_params |
| Structure to hold the parameters for sending a Generic Battery message. More... | |
| struct | meshx_battery_cli_el_msg |
| Structure to hold the Battery Server to parent element message. The structure is used by the on_model_cb function to send the Battery state change notification to the parent element. More... | |
| class | meshXGenericBatteryClientModel |
| A template class for creating Generic Battery Client models. More... | |
| class | meshXGenericBatteryServerModel |
| A template class for creating Generic Battery Server models. More... | |
Typedefs | |
| using | meshx_gen_battery_model_state_t = struct meshx_gen_battery_model_state |
| using | meshx_gen_battery_send_params_t = struct meshx_gen_battery_send_params |
| using | meshx_battery_cli_el_msg_t = struct meshx_battery_cli_el_msg |
| using | meshx_battery_srv_el_msg_t |
Implementation of Generic Battery Model for MeshX.
This file contains the implementation of the Generic Battery model, which provides standard Battery model functionality in the MeshX BLE mesh framework.
Key Features:
| #define MESHX_GEN_BATTERY_CLIENT_MODEL_TEMPLATE_PARAMS |
| #define MESHX_GEN_BATTERY_CLIENT_MODEL_TEMPLATE_PROTO |
| #define MESHX_GEN_BATTERY_SERVER_MODEL_TEMPLATE_PARAMS |
| #define MESHX_GEN_BATTERY_SERVER_MODEL_TEMPLATE_PROTO |
| using meshx_battery_cli_el_msg_t = struct meshx_battery_cli_el_msg |
| using meshx_gen_battery_model_state_t = struct meshx_gen_battery_model_state |
| using meshx_gen_battery_send_params_t = struct meshx_gen_battery_send_params |