|
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.
|
Relay server element context structure. More...
#include <meshx_relay_element.hpp>
Data Fields | |
| uint16_t | app_id |
| uint16_t | pub_addr |
| meshx_gen_onoff_model_state_t | gen_on_off_state |
Relay server element context structure.
This structure contains the state context for the relay server element, including the OnOff state and publication/app binding information. This matches the C implementation pattern where state is maintained in the element layer for NVS persistence.
| uint16_t meshx_relay_srv_el_ctx_t::app_id |
Application key ID for publication
| meshx_gen_onoff_model_state_t meshx_relay_srv_el_ctx_t::gen_on_off_state |
Current OnOff state (0=OFF, 1=ON)
| uint16_t meshx_relay_srv_el_ctx_t::pub_addr |
Publication address