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

MeshX RGB (HSL) Element class definition This file contains the meshXRGBServerElement class which represents an RGB (HSL) element in the MeshX BLE mesh network. More...

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

Go to the source code of this file.

Data Structures

struct  meshx_rgb_srv_el_ctx_t
 RGB server element context structure. More...
class  meshXRGBServerElement

Macros

#define MESHX_RGB_SERVER_ELEMENT_TEMPLATE_PROTO
#define MESHX_RGB_SERVER_ELEMENT_TEMPLATE_PARAMS

Typedefs

using meshx_rgb_srv_el_ctx_t = struct meshx_rgb_srv_el_ctx_t

Enumerations

enum class  meshxRGBServerElementComposition : uint8_t {
  MESHX_RGB_SERVER_ELEMENT_COMP_GENERIC_ONOFF_SERVER = 0 ,
  MESHX_RGB_SERVER_ELEMENT_COMP_LIGHT_HSL_SERVER ,
  MESHX_RGB_SERVER_ELEMENT_COMP_MAX
}

Detailed Description

MeshX RGB (HSL) Element class definition This file contains the meshXRGBServerElement class which represents an RGB (HSL) element in the MeshX BLE mesh network.

Author
Pranjal Chanda
Date
2024-2025

Macro Definition Documentation

◆ MESHX_RGB_SERVER_ELEMENT_TEMPLATE_PARAMS

#define MESHX_RGB_SERVER_ELEMENT_TEMPLATE_PARAMS

◆ MESHX_RGB_SERVER_ELEMENT_TEMPLATE_PROTO

#define MESHX_RGB_SERVER_ELEMENT_TEMPLATE_PROTO

Typedef Documentation

◆ meshx_rgb_srv_el_ctx_t

using meshx_rgb_srv_el_ctx_t = struct meshx_rgb_srv_el_ctx_t

Enumeration Type Documentation

◆ meshxRGBServerElementComposition

enum class meshxRGBServerElementComposition : uint8_t
strong
Enumerator
MESHX_RGB_SERVER_ELEMENT_COMP_GENERIC_ONOFF_SERVER 
MESHX_RGB_SERVER_ELEMENT_COMP_LIGHT_HSL_SERVER  
MESHX_RGB_SERVER_ELEMENT_COMP_MAX  
44{
48};
@ MESHX_RGB_SERVER_ELEMENT_COMP_MAX
Definition meshx_rgb_element.hpp:47
@ MESHX_RGB_SERVER_ELEMENT_COMP_GENERIC_ONOFF_SERVER
Definition meshx_rgb_element.hpp:45
@ MESHX_RGB_SERVER_ELEMENT_COMP_LIGHT_HSL_SERVER
Definition meshx_rgb_element.hpp:46