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

Header for serialized GPIO configuration stored in KV Engine. More...

#include <meshx_gpio_kv.h>

Data Fields

uint8_t version
uint8_t pin_count
uint16_t crc16
uint16_t total_size
uint8_t flags
uint8_t reserved [3]

Detailed Description

Header for serialized GPIO configuration stored in KV Engine.

This header precedes all GPIO configuration data in KV Engine storage. It includes versioning for migration support and CRC16 for integrity.

Field Documentation

◆ crc16

uint16_t meshx_gpio_config_header_kv_t::crc16

CRC16 of all data following this header

◆ flags

uint8_t meshx_gpio_config_header_kv_t::flags

Configuration flags (reserved for future use)

◆ pin_count

uint8_t meshx_gpio_config_header_kv_t::pin_count

Number of configured pins in this config

◆ reserved

uint8_t meshx_gpio_config_header_kv_t::reserved[3]

Reserved for future use, must be 0

◆ total_size

uint16_t meshx_gpio_config_header_kv_t::total_size

Total size of serialized data (header + pins)

◆ version

uint8_t meshx_gpio_config_header_kv_t::version

Format version (MESHX_GPIO_CONFIG_VERSION_*)


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