38 #ifndef LIGHT_CTL_COMMON_H__ 39 #define LIGHT_CTL_COMMON_H__ 42 #include "model_common.h" 43 #include "nrf_mesh_assert.h" 56 #define LIGHT_CTL_COMPANY_ID (0xFFFF) 59 #define LIGHT_CTL_TEMPERATURE_UNKNOWN (0xFFFF) 62 #define LIGHT_CTL_TEMPERATURE_MIN_LIMIT (0x0320) 64 #define LIGHT_CTL_TEMPERATURE_MAX_LIMIT (0x4E20) 67 #ifndef LIGHT_CTL_DEFAULT_TEMPERATURE 68 #define LIGHT_CTL_DEFAULT_TEMPERATURE (8000) 72 #ifndef LIGHT_CTL_DEFAULT_TEMPERATURE_DEFAULT 73 #define LIGHT_CTL_DEFAULT_TEMPERATURE_DEFAULT (8000) 78 #ifndef LIGHT_CTL_DEFAULT_ALLOWED_TEMPERATURE_MIN 79 #define LIGHT_CTL_DEFAULT_ALLOWED_TEMPERATURE_MIN (0x0320) 84 #ifndef LIGHT_CTL_DEFAULT_ALLOWED_TEMPERATURE_MAX 85 #define LIGHT_CTL_DEFAULT_ALLOWED_TEMPERATURE_MAX (0x4E20) 89 #ifndef LIGHT_CTL_DEFAULT_DELTA_UV 90 #define LIGHT_CTL_DEFAULT_DELTA_UV (0) 94 #ifndef LIGHT_CTL_DEFAULT_DELTA_UV_DEFAULT 95 #define LIGHT_CTL_DEFAULT_DELTA_UV_DEFAULT (0) uint16_t present_delta_uv
The present value of the Delta UV state.
The provided MAXIMUM range set value is invalid.
uint32_t temperature32
Value of the Temperature32 Default state.
uint8_t tid
Transaction ID.
uint32_t temperature32
Value of the Temperature32 state.
Message format for the Light CTL Temperature Move Set "message".
light_ctl_range_status_t
Status values for light_ctl_temperature_range_status_params_t.
uint16_t lightness
Value of the Lightness state.
uint32_t temperature32_range_max
Value of the Temperature32 range max state.
uint16_t default_delta_uv
Stores Default UV state value.
The provided MINIMUM range set value is invalid.
uint8_t tid
Transaction ID.
Parameters for the Light CTL Default Status message.
uint8_t tid
Transaction ID.
uint32_t target_temperature32
The target value of the Temperature32 state (optional)
uint32_t remaining_time_ms
Remaining time value in milliseconds.
uint16_t delta_uv
Stores Delta UV state value.
uint16_t present_lightness
The present value of the Lightness state.
uint32_t temperature32_range_min
The value of Temperature32 Range min state.
uint8_t status_code
Status code for the requesting message.
uint16_t delta_uv
Value of the Delta UV state.
Message format for the CTL Temperature Set message.
The provided range set values are valid.
uint16_t target_lightness
The target value of the Lightness state (optional)
uint32_t temperature32_range_min
Value of the Temperature32 range min state.
Storage format for model states while booting - the stored values will be read and passed to the mode...
int32_t delta_temperature
Value of the temperature move value.
uint32_t remaining_time_ms
Remaining time value in milliseconds.
uint32_t temperature32
The value of the Temperature32 state.
uint32_t temperature32
Value of the Temperature32 state.
uint16_t delta_uv
The value of the Delta UV state.
uint16_t delta_uv
Value of the Delta UV Default state.
uint32_t target_temperature32
The target value of the Temperature32 state (optional)
uint32_t default_temperature32
Stores represented Temperature32 state value.
uint32_t temperature32_range_max
The value of Temperature32 Range max state.
uint32_t temperature32
Stores represented CTL Temperature state value.
Message format for the CTL Default Set message.
light_ctl_temperature_range_set_params_t temperature32_range
Stores represented Temperature range value.
uint16_t lightness
The value of the Lightness state.
uint32_t present_temperature32
The present value of the Temperature32 state.
Message format for the CTL delta set "message".
Parameters for the Light CTL Temperature Status message.
Parameters for the Light CTL Status message.
Message format for the CTL Temperature Range Set message.
uint8_t tid
Transaction ID.
Parameters for the Light CTL Temperature Range Status message.
uint16_t target_delta_uv
The target value of the Delta UV state (optional)
uint8_t onpowerup
Stores OnPowerUp state value.
uint16_t lightness
Value of the Lightness Default state.
uint16_t delta_uv
Value of the Delta UV state.
uint32_t present_temperature32
The present value of the Temperature32 state.
Unpacked message structure typedefs are used for API interfaces and for implementing model code...
int32_t delta_temperature
Value of the Temperature delta value.