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_gpio_pin_state_kv_t Struct Reference

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

Detailed Description

Serialized GPIO pin state for KV Engine storage.

Used for persisting runtime pin state across reboots. Total size: 8 bytes.

Field Documentation

◆ current_duty

uint8_t meshx_gpio_pin_state_kv_t::current_duty

Current PWM duty cycle (if applicable)

◆ current_level

uint8_t meshx_gpio_pin_state_kv_t::current_level

Current pin level (0 or 1)

◆ logical_pin

uint8_t meshx_gpio_pin_state_kv_t::logical_pin

Logical pin number

◆ pwm_started

uint8_t meshx_gpio_pin_state_kv_t::pwm_started

PWM running flag (0=false, 1=true)

◆ reserved

uint32_t meshx_gpio_pin_state_kv_t::reserved

Reserved for future use


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