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