|
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.
|
GPIO Command Payload (Host -> Engine). More...
#include <meshx_serial.h>
Data Fields | |
| uint8_t | cmd |
| uint8_t | logical_pin |
| uint8_t | reserved |
| uint8_t | payload_len |
| uint8_t | payload [8] |
GPIO Command Payload (Host -> Engine).
| uint8_t mxsp_gpio_cmd_payload_t::cmd |
Command type (mxsp_gpio_cmd_t)
| uint8_t mxsp_gpio_cmd_payload_t::logical_pin |
Logical pin number (0-255)
| uint8_t mxsp_gpio_cmd_payload_t::payload[8] |
Command-specific payload
| uint8_t mxsp_gpio_cmd_payload_t::payload_len |
Payload length (0-8 bytes)
| uint8_t mxsp_gpio_cmd_payload_t::reserved |
Reserved for alignment