nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
Light HSL Client model

API for the Light HSL Client model. More...

Data Structures

struct  bt_mesh_light_hsl_cli_handlers
 
struct  bt_mesh_light_hsl_cli
 

Macros

#define BT_MESH_MODEL_LIGHT_HSL_CLI(_cli)
 Light HSL Client model composition data entry.
 

Functions

int bt_mesh_light_hsl_get (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_hsl_status *rsp)
 Get the Light HSL state of the bound server.
 
int bt_mesh_light_hsl_set (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hsl_params *set, struct bt_mesh_light_hsl_status *rsp)
 Set the Light HSL state of the server.
 
int bt_mesh_light_hsl_set_unack (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hsl_params *set)
 Set the Light HSL state of the server without requesting a response.
 
int bt_mesh_light_hsl_target_get (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_hsl_status *rsp)
 Get the Light HSL target state of the bound server.
 
int bt_mesh_light_hsl_default_get (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_hsl *rsp)
 Get the default HSL value of the bound server.
 
int bt_mesh_light_hsl_default_set (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hsl *set, struct bt_mesh_light_hsl *rsp)
 Set the default HSL value of the server.
 
int bt_mesh_light_hsl_default_set_unack (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hsl *set)
 Set the default HSL value of the server without requesting a response.
 
int bt_mesh_light_hsl_range_get (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_hsl_range_status *rsp)
 Get the Light HSL Range state of the bound server.
 
int bt_mesh_light_hsl_range_set (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hue_sat_range *set, struct bt_mesh_light_hsl_range_status *rsp)
 Set the Light HSL Range of the server.
 
int bt_mesh_light_hsl_range_set_unack (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hue_sat_range *set)
 Set the Light HSL Range of the server without requesting a response.
 
int bt_mesh_light_hue_get (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_hue_status *rsp)
 Get the Light Hue state of the bound server.
 
int bt_mesh_light_hue_set (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hue *set, struct bt_mesh_light_hue_status *rsp)
 Set the Light Hue state of the server.
 
int bt_mesh_light_hue_set_unack (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hue *set)
 Set the Light Hue state of the server without requesting a response.
 
int bt_mesh_light_saturation_get (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_sat_status *rsp)
 Get the Light Saturation state of the bound server.
 
int bt_mesh_light_saturation_set (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_sat *set, struct bt_mesh_light_sat_status *rsp)
 Set the Light Saturation state of the server.
 
int bt_mesh_light_saturation_set_unack (struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_sat *set)
 Set the Light Saturation state of the server without requesting a response.
 

Detailed Description

API for the Light HSL Client model.