|
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.
|
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] |
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.
| uint16_t meshx_gpio_config_header_kv_t::crc16 |
CRC16 of all data following this header
| uint8_t meshx_gpio_config_header_kv_t::flags |
Configuration flags (reserved for future use)
| uint8_t meshx_gpio_config_header_kv_t::pin_count |
Number of configured pins in this config
| uint8_t meshx_gpio_config_header_kv_t::reserved[3] |
Reserved for future use, must be 0
| uint16_t meshx_gpio_config_header_kv_t::total_size |
Total size of serialized data (header + pins)
| uint8_t meshx_gpio_config_header_kv_t::version |
Format version (MESHX_GPIO_CONFIG_VERSION_*)