Internal structure to hold state and timing information. More...
#include <app_light_lightness.h>
Data Fields | |
| uint16_t | present_lightness |
| Present value of the lightness state. | |
| uint16_t | target_lightness |
| Target value of the lightness state, as received from the model interface. More... | |
| uint16_t | initial_present_lightness |
| Initial present lightness required for handling Set/Delta Set message. More... | |
| uint16_t | init_present_snapshot |
| Present value when message was received. | |
| uint16_t | target_snapshot |
| Requested target. | |
| bool | new_tid |
| To detect if TID is new while processing delta transition. | |
| uint32_t | published_ms |
| app_transition_t | transition |
| Structure for using transition module functionality. | |
Detailed Description
Internal structure to hold state and timing information.
- Note
- The present lightness is available from a callback.
Definition at line 115 of file app_light_lightness.h.
Field Documentation
◆ target_lightness
| uint16_t app_light_lightness_state_t::target_lightness |
Target value of the lightness state, as received from the model interface.
Definition at line 120 of file app_light_lightness.h.
◆ initial_present_lightness
| uint16_t app_light_lightness_state_t::initial_present_lightness |
Initial present lightness required for handling Set/Delta Set message.
Definition at line 122 of file app_light_lightness.h.
- examples/common/include/app_light_lightness.h