nRF5 SDK for Mesh v4.1.0
Data Fields

The Light OnOff message is the only one that has transition and delay, though we need to keep information about the initial and target lightness level so we can calculate what to set it to in the meantime. More...

#include <light_lc_setup_server.h>

Data Fields

uint32_t requested_transition_time_ms
 Requested transition from incoming message.
 
uint32_t requested_delay_ms
 Requested delay from incoming message.
 
bool requested_light_onoff
 Requested light_onoff from incoming message.
 
uint32_t transition_time_ms
 Current transition time for currently active command.
 
uint8_t present_light_onoff
 Current light_onoff state for currently active command.
 
uint8_t target_light_onoff
 Target light_onoff state for currently active command.
 
uint16_t initial_present_lightness
 Initial present lightness (linear)
 
uint16_t target_lightness
 Target lightness (linear)
 
uint32_t initial_present_luxlevel
 Initial lux level.
 
uint32_t target_luxlevel
 Target lux level.
 

Detailed Description

The Light OnOff message is the only one that has transition and delay, though we need to keep information about the initial and target lightness level so we can calculate what to set it to in the meantime.

Definition at line 278 of file light_lc_setup_server.h.


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

Documentation feedback | Developer Zone | Subscribe | Updated