|
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.
|
Serialized GPIO pin state for KV Engine storage. More...
#include <meshx_gpio_kv.h>
Data Fields | |
| uint8_t | logical_pin |
| uint8_t | current_level |
| uint8_t | pwm_started |
| uint8_t | current_duty |
| uint32_t | reserved |
Serialized GPIO pin state for KV Engine storage.
Used for persisting runtime pin state across reboots. Total size: 8 bytes.
| uint8_t meshx_gpio_pin_state_kv_t::current_duty |
Current PWM duty cycle (if applicable)
| uint8_t meshx_gpio_pin_state_kv_t::current_level |
Current pin level (0 or 1)
| uint8_t meshx_gpio_pin_state_kv_t::logical_pin |
Logical pin number
| uint8_t meshx_gpio_pin_state_kv_t::pwm_started |
PWM running flag (0=false, 1=true)
| uint32_t meshx_gpio_pin_state_kv_t::reserved |
Reserved for future use