|
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.
|
CWWW client element context structure. More...
#include <meshx_cwww_element.hpp>
Data Fields | |
| uint16_t | app_id |
| uint16_t | pub_addr |
| meshx_gen_onoff_model_state_t | gen_on_off_state |
| meshx_light_ctl_model_state_t | light_ctl_state |
| uint8_t | ctl_tid |
CWWW client element context structure.
This structure contains the state context for the CWWW client element, including OnOff state, CTL state, and publication/app binding information. This matches the C implementation pattern where state is maintained in the element layer (el_ctx) for NVS persistence.
| uint16_t meshx_cwww_cli_el_ctx_t::app_id |
Application key ID for publication
| uint8_t meshx_cwww_cli_el_ctx_t::ctl_tid |
Transaction ID for CTL messages
| meshx_gen_onoff_model_state_t meshx_cwww_cli_el_ctx_t::gen_on_off_state |
Current OnOff state (0=OFF, 1=ON)
| meshx_light_ctl_model_state_t meshx_cwww_cli_el_ctx_t::light_ctl_state |
Current Light CTL state
| uint16_t meshx_cwww_cli_el_ctx_t::pub_addr |
Publication address