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_relay_srv_el_ctx_t Struct Reference

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

Detailed Description

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.

Field Documentation

◆ app_id

uint16_t meshx_relay_srv_el_ctx_t::app_id

Application key ID for publication

◆ gen_on_off_state

meshx_gen_onoff_model_state_t meshx_relay_srv_el_ctx_t::gen_on_off_state

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

◆ pub_addr

uint16_t meshx_relay_srv_el_ctx_t::pub_addr

Publication address


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