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_element.hpp File Reference

MeshX CWWW (Cool White - Warm White) Element class definition This file contains the meshXCWWWServerElement and meshXCWWWClientElement classes which represent CWWW elements in the MeshX BLE mesh network. The CWWW element is a combination of Generic OnOff and Light CTL server/clients. More...

#include <meshx_element_class.hpp>
#include <generic_model/meshx_model_onoff.hpp>
#include <light_model/meshx_model_ctl.hpp>
#include <mutex>
#include <array>

Go to the source code of this file.

Data Structures

struct  meshx_cwww_srv_el_ctx_t
 CWWW server element context structure. More...
class  meshXCWWWServerElement
struct  meshx_cwww_cli_el_ctx_t
 CWWW client element context structure. More...
class  meshXCWWWClientElement

Macros

#define MESHX_CWWW_SERVER_ELEMENT_TEMPLATE_PROTO
#define MESHX_CWWW_SERVER_ELEMENT_TEMPLATE_PARAMS
#define MESHX_CWWW_CLIENT_ELEMENT_TEMPLATE_PROTO
#define MESHX_CWWW_CLIENT_ELEMENT_TEMPLATE_PARAMS

Typedefs

using meshx_cwww_srv_el_ctx_t = struct meshx_cwww_srv_el_ctx_t

Enumerations

enum class  meshxCWWWServerElementComposition : uint8_t {
  MESHX_CWWW_SERVER_ELEMENT_COMP_GENERIC_ONOFF_SERVER = 0 ,
  MESHX_CWWW_SERVER_ELEMENT_COMP_LIGHT_CTL_SERVER ,
  MESHX_CWWW_SERVER_ELEMENT_COMP_MAX
}
enum class  meshxCWWWClientElementComposition : uint8_t {
  MESHX_CWWW_CLIENT_ELEMENT_COMP_GENERIC_ONOFF_CLIENT = 0 ,
  MESHX_CWWW_CLIENT_ELEMENT_COMP_LIGHT_CTL_CLIENT ,
  MESHX_CWWW_CLIENT_ELEMENT_COMP_MAX
}

Detailed Description

MeshX CWWW (Cool White - Warm White) Element class definition This file contains the meshXCWWWServerElement and meshXCWWWClientElement classes which represent CWWW elements in the MeshX BLE mesh network. The CWWW element is a combination of Generic OnOff and Light CTL server/clients.

Author
Pranjal Chanda
Date
2024-2025

Macro Definition Documentation

◆ MESHX_CWWW_CLIENT_ELEMENT_TEMPLATE_PARAMS

#define MESHX_CWWW_CLIENT_ELEMENT_TEMPLATE_PARAMS

◆ MESHX_CWWW_CLIENT_ELEMENT_TEMPLATE_PROTO

#define MESHX_CWWW_CLIENT_ELEMENT_TEMPLATE_PROTO

◆ MESHX_CWWW_SERVER_ELEMENT_TEMPLATE_PARAMS

#define MESHX_CWWW_SERVER_ELEMENT_TEMPLATE_PARAMS

◆ MESHX_CWWW_SERVER_ELEMENT_TEMPLATE_PROTO

#define MESHX_CWWW_SERVER_ELEMENT_TEMPLATE_PROTO

Typedef Documentation

◆ meshx_cwww_srv_el_ctx_t

using meshx_cwww_srv_el_ctx_t = struct meshx_cwww_srv_el_ctx_t

Enumeration Type Documentation

◆ meshxCWWWClientElementComposition

enum class meshxCWWWClientElementComposition : uint8_t
strong
Enumerator
MESHX_CWWW_CLIENT_ELEMENT_COMP_GENERIC_ONOFF_CLIENT 
MESHX_CWWW_CLIENT_ELEMENT_COMP_LIGHT_CTL_CLIENT  
MESHX_CWWW_CLIENT_ELEMENT_COMP_MAX  
131{
135};
@ MESHX_CWWW_CLIENT_ELEMENT_COMP_MAX
Definition meshx_cwww_element.hpp:134
@ MESHX_CWWW_CLIENT_ELEMENT_COMP_LIGHT_CTL_CLIENT
Definition meshx_cwww_element.hpp:133
@ MESHX_CWWW_CLIENT_ELEMENT_COMP_GENERIC_ONOFF_CLIENT
Definition meshx_cwww_element.hpp:132

◆ meshxCWWWServerElementComposition

enum class meshxCWWWServerElementComposition : uint8_t
strong
Enumerator
MESHX_CWWW_SERVER_ELEMENT_COMP_GENERIC_ONOFF_SERVER 
MESHX_CWWW_SERVER_ELEMENT_COMP_LIGHT_CTL_SERVER  
MESHX_CWWW_SERVER_ELEMENT_COMP_MAX  
53{
57};
@ MESHX_CWWW_SERVER_ELEMENT_COMP_LIGHT_CTL_SERVER
Definition meshx_cwww_element.hpp:55
@ MESHX_CWWW_SERVER_ELEMENT_COMP_GENERIC_ONOFF_SERVER
Definition meshx_cwww_element.hpp:54
@ MESHX_CWWW_SERVER_ELEMENT_COMP_MAX
Definition meshx_cwww_element.hpp:56