14#ifndef BT_MESH_LIGHT_HSL_CLI_H__
15#define BT_MESH_LIGHT_HSL_CLI_H__
32#define BT_MESH_MODEL_LIGHT_HSL_CLI(_cli) \
33 BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_LIGHT_HSL_CLI, \
34 _bt_mesh_light_hsl_cli_op, &(_cli)->pub, \
35 BT_MESH_MODEL_USER_DATA(struct bt_mesh_light_hsl_cli, \
37 &_bt_mesh_light_hsl_cli_cb)
49 struct bt_mesh_msg_ctx *ctx,
116 struct bt_mesh_model_pub
pub;
118 struct net_buf_simple
buf;
121 BT_MESH_LIGHT_HSL_OP_SET, BT_MESH_LIGHT_HSL_MSG_MAXLEN_SET)];
146 struct bt_mesh_msg_ctx *ctx,
168 struct bt_mesh_msg_ctx *ctx,
185 struct bt_mesh_msg_ctx *ctx,
206 struct bt_mesh_msg_ctx *ctx,
227 struct bt_mesh_msg_ctx *ctx,
249 struct bt_mesh_msg_ctx *ctx,
349 struct bt_mesh_msg_ctx *ctx,
371 struct bt_mesh_msg_ctx *ctx,
388 struct bt_mesh_msg_ctx *ctx,
409 struct bt_mesh_msg_ctx *ctx,
431 struct bt_mesh_msg_ctx *ctx,
449 struct bt_mesh_msg_ctx *ctx,
453extern const struct bt_mesh_model_op _bt_mesh_light_hsl_cli_op[];
454extern const struct bt_mesh_model_cb _bt_mesh_light_hsl_cli_cb;
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_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_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_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_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_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_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_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_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_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_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_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_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_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.
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.
void(*const hue_status)(struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hue_status *status)
Hue status message handler.
Definition light_hsl_cli.h:90
void(*const saturation_status)(struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_sat_status *status)
Saturation status message handler.
Definition light_hsl_cli.h:101
void(*const status)(struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hsl_status *status)
HSL status message handler.
Definition light_hsl_cli.h:48
void(*const range_status)(struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hsl_range_status *status)
Range status message handler.
Definition light_hsl_cli.h:79
void(*const target_status)(struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hsl_status *status)
HSL target status message handler.
Definition light_hsl_cli.h:59
void(*const default_status)(struct bt_mesh_light_hsl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_hsl *status)
Default parameter status message handler.
Definition light_hsl_cli.h:69
Definition light_hsl_cli.h:40
const struct bt_mesh_model * model
Definition light_hsl_cli.h:114
struct net_buf_simple buf
Definition light_hsl_cli.h:118
uint8_t pub_data[BT_MESH_MODEL_BUF_LEN(BT_MESH_LIGHT_HSL_OP_SET, BT_MESH_LIGHT_HSL_MSG_MAXLEN_SET)]
Definition light_hsl_cli.h:121
const struct bt_mesh_light_hsl_cli_handlers * handlers
Definition light_hsl_cli.h:111
struct bt_mesh_model_pub pub
Definition light_hsl_cli.h:116
struct bt_mesh_msg_ack_ctx ack_ctx
Definition light_hsl_cli.h:123
uint8_t tid
Definition light_hsl_cli.h:125
Definition light_hsl_cli.h:109
Definition light_hsl.h:50
Definition light_hsl.h:163
Definition light_hsl.h:80
Definition light_hsl.h:32
Definition light_hsl.h:155
Definition light_hsl.h:127
Definition light_hsl.h:88
Definition light_hsl.h:137
Definition light_hsl.h:113