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.
Loading...
Searching...
No Matches
meshx_cwww_srv_el_ctx_t Struct Reference

CWWW server 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

Detailed Description

CWWW server element context structure.

This structure contains the state context for the CWWW server 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.

Field Documentation

◆ app_id

uint16_t meshx_cwww_srv_el_ctx_t::app_id

Application key ID for publication

◆ gen_on_off_state

meshx_gen_onoff_model_state_t meshx_cwww_srv_el_ctx_t::gen_on_off_state

Current OnOff state (0=OFF, 1=ON)

◆ light_ctl_state

meshx_light_ctl_model_state_t meshx_cwww_srv_el_ctx_t::light_ctl_state

Current Light CTL state

◆ pub_addr

uint16_t meshx_cwww_srv_el_ctx_t::pub_addr

Publication address


The documentation for this struct was generated from the following file: