38 #ifndef LIGHT_LIGHTNESS_COMMON_H__ 39 #define LIGHT_LIGHTNESS_COMMON_H__ 42 #include "model_common.h" 53 #define LIGHT_LIGHTNESS_COMPANY_ID 0xFFFF 59 #define LIGHT_LIGHTNESS_RANGE_MIN (1) 65 #define LIGHT_LIGHTNESS_LAST_MIN (1) 72 #ifndef LIGHT_LIGHTNESS_DEFAULT_RANGE_MIN 73 #define LIGHT_LIGHTNESS_DEFAULT_RANGE_MIN (0x1) 81 #ifndef LIGHT_LIGHTNESS_DEFAULT_RANGE_MAX 82 #define LIGHT_LIGHTNESS_DEFAULT_RANGE_MAX (0xFFFF) 93 #ifndef LIGHT_LIGHTNESS_DEFAULT_ON_POWERUP 94 #define LIGHT_LIGHTNESS_DEFAULT_ON_POWERUP (0x2) 103 #ifndef LIGHT_LIGHTNESS_DEFAULT_LIGHTNESS_ACTUAL 104 #define LIGHT_LIGHTNESS_DEFAULT_LIGHTNESS_ACTUAL (0x0) 115 #ifndef LIGHT_LIGHTNESS_DEFAULT_LIGHTNESS_LAST 116 #define LIGHT_LIGHTNESS_DEFAULT_LIGHTNESS_LAST (0xFFFF) 125 #ifndef LIGHT_LIGHTNESS_DEFAULT_LIGHTNESS_DEFAULT 126 #define LIGHT_LIGHTNESS_DEFAULT_LIGHTNESS_DEFAULT (0x0) 132 #ifndef LIGHT_LIGHTNESS_DEFAULT_DTT 133 #define LIGHT_LIGHTNESS_DEFAULT_DTT (0x0) int16_t delta
Value of the Lightness move value.
Message format for the light_lightness Linear set message.
uint8_t status
The status of the last operation.
Parameters for the light_lightness Linear Status message.
uint16_t range_min
The value of the lightness range min state.
Parameters for the DTT Set message.
Message format for the light_lightness Default set message.
uint8_t tid
Transaction ID.
Parameters for the light_lightness Last Status message.
uint16_t range_max
The value of the lightness range max state.
uint16_t range_max
The value of the lightness range max state.
uint16_t lightness
Value of the Lightness state.
uint8_t on_powerup
OnPowerUp value.
Unpacked message structure typedefs are used for API interfaces and for implementing model code...
Parameters for the Power OnOff Set message.
The provided range set values are valid.
light_lightness_range_status_t
Status values for light_lightness_range_status_params_t.
uint16_t lightness
The value of the Lightness last state.
The provided value for Range Max cannot be set.
uint32_t dtt_ms
DTT value.
uint16_t target_lightness
The target value of the Linear Lightness state (optional)
Message format for the light_lightness delta set "message".
uint16_t actual_lightness
The saved value of the light lightness actual state.
The provided value for Range Min cannot be set.
uint8_t onpowerup
The saved value of the generic on powerup state.
Parameters for the light_lightness Default Status message.
uint8_t tid
Transaction ID.
Parameter format for code while booting - the stored values will be read and passed to the model to d...
Parameters for the DTT Status message.
uint16_t lightness
Value of the Lightness Linear state.
uint16_t present_lightness
The present value of the Linear Lightness state.
uint16_t lightness
Value of the Lightness state.
uint8_t on_powerup
OnPowerUp value.
light_lightness_range_status_params_t range
The saved value of the light lightness range state.
uint16_t lightness
The value of the Lightness default state.
uint8_t tid
Transaction ID.
uint32_t remaining_time_ms
Remaining time value in milliseconds.
uint8_t tid
Transaction ID.
uint16_t present_lightness
The present value of the Lightness state.
uint16_t target_lightness
The target value of the Lightness state (optional)
Message format for the light_lightness move set "message".
uint32_t dtt_ms
DTT value.
Message format for the light_lightness Range set message.
Parameters for the light_lightness Status message.
uint16_t range_min
The value of the lightness range min state.
Parameters for the light_lightness Range Status message.
uint16_t default_lightness
The saved value of the light lightness default state.
Parameters for the Power OnOff Status message.
uint32_t remaining_time_ms
Remaining time value in milliseconds.
int32_t delta_lightness
Value of the Lightness delta value.
uint16_t last_lightness
The saved value of the light lightness last state.