Functions | |
static uint16_t | light_lightness_utils_actual_to_linear (uint16_t ll_actual) |
Converts the Light Lightness Actual state to the Light Lightness Linear state. More... | |
static uint16_t | light_lightness_utils_linear_to_actual (uint16_t ll_linear) |
Convert the Light Lightness Linear state to the Light Lightness Actual state. More... | |
static int16_t | light_lightness_utils_actual_to_generic_level (uint16_t ll_actual) |
Convert the Light Lightness Actual state to the Generic Level state. More... | |
static uint16_t | light_lightness_utils_generic_level_to_actual (int16_t level) |
Convert the Generic Level state to the Light Lightness Actual state. More... | |
static uint8_t | light_lightness_utils_actual_to_generic_onoff (uint16_t ll_actual) |
Convert the Light Lightness Actual state to the Generic OnOff state. More... | |
static uint16_t | light_lightness_utils_actual_to_range_restrict (uint16_t ll_actual, uint16_t range_min, uint16_t range_max) |
Convert the Light Lightness Actual state to the Generic OnOff state. More... | |
|
inlinestatic |
Converts the Light Lightness Actual state to the Light Lightness Linear state.
See Bluetooth Mesh Model Specification (MshMDLv1.0.1) section 6.1.2.2.1 for more details.
[in] | ll_actual | The Light Lightness Actual state. |
Definition at line 60 of file light_lightness_utils.h.
|
inlinestatic |
Convert the Light Lightness Linear state to the Light Lightness Actual state.
See Bluetooth Mesh Model Specification (MshMDLv1.0.1) section 6.1.2.2.1 for more details.
[in] | ll_linear | The Light Lightness Linear state. |
Definition at line 74 of file light_lightness_utils.h.
|
inlinestatic |
Convert the Light Lightness Actual state to the Generic Level state.
See Bluetooth Mesh Model Specification (MshMDLv1.0.1) section 6.1.2.2.2 for more details.
[in] | ll_actual | The Light Lightness Actual state. |
Definition at line 88 of file light_lightness_utils.h.
References GENERIC_LEVEL_MIN.
|
inlinestatic |
Convert the Generic Level state to the Light Lightness Actual state.
See Bluetooth Mesh Model Specification (MshMDLv1.0.1) section 6.1.2.2.2 for more details.
[in] | level | The Generic Level state. |
Definition at line 102 of file light_lightness_utils.h.
References GENERIC_LEVEL_MIN.
|
inlinestatic |
Convert the Light Lightness Actual state to the Generic OnOff state.
See Bluetooth Mesh Model Specification (MshMDLv1.0.1) section 6.1.2.2.3 for more details.
[in] | ll_actual | Light Lightness Actual state. |
Definition at line 116 of file light_lightness_utils.h.
|
inlinestatic |
Convert the Light Lightness Actual state to the Generic OnOff state.
See Bluetooth Mesh Model Specification (MshMDLv1.0.1) section 6.1.2.2.5 for more details.
[in] | ll_actual | The Light Lightness Actual state. |
[in] | range_min | The Light Lightness Range Min state. |
[in] | range_max | The Light Lightness Range Max state. |
Definition at line 132 of file light_lightness_utils.h.