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

#include <meshx_ble_mesh_light_srv.h>

Data Fields

uint32_t mode: 1
uint32_t occupancy_mode: 1
uint32_t light_onoff: 1
uint32_t target_light_onoff: 1
uint32_t occupancy: 1
uint32_t ambient_luxlevel: 24
uint16_t linear_output

Field Documentation

◆ ambient_luxlevel

uint32_t meshx_light_lc_state_t::ambient_luxlevel

The value of Light LC Ambient LuxLevel state

◆ light_onoff

uint32_t meshx_light_lc_state_t::light_onoff

The present value of Light LC Light OnOff state

◆ linear_output

uint16_t meshx_light_lc_state_t::linear_output
  1. Light LC Linear Output = max((Lightness Out)^2/65535, Regulator Output)
  2. If the Light LC Mode state is set to 0b1, the binding is enabled and upon a change of the Light LC Linear Output state, the following operation shall be performed: Light Lightness Linear = Light LC Linear Output
  3. If the Light LC Mode state is set to 0b0, the binding is disabled (i.e., upon a change of the Light LC Linear Output state, no operation on the Light Lightness Linear state is performed). The value of Light LC Linear Output state

◆ mode

uint32_t meshx_light_lc_state_t::mode

0b0 The controller is turned off.

  • The binding with the Light Lightness state is disabled. 0b1 The controller is turned on.
  • The binding with the Light Lightness state is enabled. The value of Light LC Mode state

◆ occupancy

uint32_t meshx_light_lc_state_t::occupancy

The value of Light LC Occupancy state

◆ occupancy_mode

uint32_t meshx_light_lc_state_t::occupancy_mode

The value of Light LC Occupancy Mode state

◆ target_light_onoff

uint32_t meshx_light_lc_state_t::target_light_onoff

The target value of Light LC Light OnOff state


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