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.
Loading...
Searching...
No Matches
meshx_gen_battery_model_state Struct Reference

Structure to hold the Battery model state. More...

#include <meshx_model_battery.hpp>

Data Fields

uint8_t battery_level
uint32_t time_to_discharge
uint32_t time_to_charge
uint8_t presence
uint8_t charge_level
uint8_t charge_type

Detailed Description

Structure to hold the Battery model state.

Field Documentation

◆ battery_level

uint8_t meshx_gen_battery_model_state::battery_level

The battery level (0-100%).

◆ charge_level

uint8_t meshx_gen_battery_model_state::charge_level

Charge level indicators.

◆ charge_type

uint8_t meshx_gen_battery_model_state::charge_type

Charge type indicators.

◆ presence

uint8_t meshx_gen_battery_model_state::presence

Presence of battery.

◆ time_to_charge

uint32_t meshx_gen_battery_model_state::time_to_charge

Time to charge in minutes.

◆ time_to_discharge

uint32_t meshx_gen_battery_model_state::time_to_discharge

Time to discharge in minutes.


The documentation for this struct was generated from the following file: