nRF Connect SDK API 3.4.99
Loading...
Searching...
No Matches
light_hsl.h File Reference
#include <zephyr/bluetooth/mesh.h>
#include <bluetooth/mesh/model_types.h>

Go to the source code of this file.

Data Structures

struct  bt_mesh_light_hsl
struct  bt_mesh_light_hue_sat
struct  bt_mesh_light_hsl_params
struct  bt_mesh_light_hue_move
struct  bt_mesh_light_hsl_status
struct  bt_mesh_light_hue
struct  bt_mesh_light_sat
struct  bt_mesh_light_hue_status
struct  bt_mesh_light_sat_status
struct  bt_mesh_light_hsl_range
struct  bt_mesh_light_hue_sat_range
struct  bt_mesh_light_hsl_range_status

Macros

#define BT_MESH_LIGHT_HSL_MIN   0
#define BT_MESH_LIGHT_HSL_MAX   UINT16_MAX
#define BT_MESH_LIGHT_HSL_OP_RANGE_DEFAULT

Functions

uint16_t bt_mesh_light_hsl_to_rgb (const struct bt_mesh_light_hsl *hsl, enum bt_mesh_rgb_ch ch)
 Convert HSL to a 16 bit RGB channel value.