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 | transition_time_is_provided |
Transition time is provided. More... | |
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. | |
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.
bool light_lc_transition_info_t::transition_time_is_provided |
Transition time is provided.
Definition at line 285 of file light_lc_setup_server.h.