14#ifndef BT_MESH_LIGHT_XYL_CLI_H__
15#define BT_MESH_LIGHT_XYL_CLI_H__
32#define BT_MESH_MODEL_LIGHT_XYL_CLI(_cli) \
33 BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_LIGHT_XYL_CLI, \
34 _bt_mesh_light_xyl_cli_op, &(_cli)->pub, \
35 BT_MESH_MODEL_USER_DATA(struct bt_mesh_light_xyl_cli, \
37 &_bt_mesh_light_xyl_cli_cb)
49 struct bt_mesh_msg_ctx *ctx,
80 struct bt_mesh_msg_ctx *ctx,
87 const struct bt_mesh_model *
model;
89 struct bt_mesh_model_pub
pub;
93 uint8_t
buf[BT_MESH_MODEL_BUF_LEN(BT_MESH_LIGHT_XYL_OP_SET,
94 BT_MESH_LIGHT_XYL_MSG_MAXLEN_SET)];
122 struct bt_mesh_msg_ctx *ctx,
144 struct bt_mesh_msg_ctx *ctx,
161 struct bt_mesh_msg_ctx *ctx,
182 struct bt_mesh_msg_ctx *ctx,
203 struct bt_mesh_msg_ctx *ctx,
225 struct bt_mesh_msg_ctx *ctx,
243 struct bt_mesh_msg_ctx *ctx,
264 struct bt_mesh_msg_ctx *ctx,
288 struct bt_mesh_msg_ctx *ctx,
307 struct bt_mesh_msg_ctx *ctx,
311extern const struct bt_mesh_model_op _bt_mesh_light_xyl_cli_op[];
312extern const struct bt_mesh_model_cb _bt_mesh_light_xyl_cli_cb;
int bt_mesh_light_xyl_default_set(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_xyl *set, struct bt_mesh_light_xyl *rsp)
Set the default xyL value of the server.
int bt_mesh_light_xyl_range_set_unack(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_xy_range *set)
Set the xyL Range of the server without requesting a response.
int bt_mesh_light_xyl_default_set_unack(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_xyl *set)
Set the default xyL value of the server without requesting a response.
int bt_mesh_light_xyl_set(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_xyl_set_params *set, struct bt_mesh_light_xyl_status *rsp)
Set the xyL state of the server.
int bt_mesh_light_xyl_range_get(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_xyl_range_status *rsp)
Get the Light xyL state of the bound server.
int bt_mesh_light_xyl_set_unack(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_xyl_set_params *set)
Set the xyL state of the server without requesting a response.
int bt_mesh_light_xyl_target_get(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_xyl_status *rsp)
Get the Light xyL target state of the bound server.
int bt_mesh_light_xyl_default_get(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_xyl *rsp)
Get the Light xyL default state of the bound server.
int bt_mesh_light_xyl_range_set(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_xy_range *set, struct bt_mesh_light_xyl_range_status *rsp)
Set the xyL Range of the server.
int bt_mesh_light_xyl_get(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_xyl_status *rsp)
Get the Light xyL state of the bound server.
Definition light_xyl.h:73
void(*const xyl_status)(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_xyl_status *status)
xyL status message handler.
Definition light_xyl_cli.h:48
void(*const default_status)(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_xyl *status)
Default parameter status message handler.
Definition light_xyl_cli.h:79
void(*const range_status)(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_xyl_range_status *status)
xyL Range status message handler.
Definition light_xyl_cli.h:69
void(*const target_status)(struct bt_mesh_light_xyl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_xyl_status *status)
xyL target status message handler.
Definition light_xyl_cli.h:59
Definition light_xyl_cli.h:40
struct bt_mesh_msg_ack_ctx ack_ctx
Definition light_xyl_cli.h:97
uint8_t tid
Definition light_xyl_cli.h:99
uint8_t buf[BT_MESH_MODEL_BUF_LEN(BT_MESH_LIGHT_XYL_OP_SET, BT_MESH_LIGHT_XYL_MSG_MAXLEN_SET)]
Definition light_xyl_cli.h:94
struct bt_mesh_model_pub pub
Definition light_xyl_cli.h:89
struct net_buf_simple pub_msg
Definition light_xyl_cli.h:91
const struct bt_mesh_light_xyl_cli_handlers * handlers
Definition light_xyl_cli.h:101
const struct bt_mesh_model * model
Definition light_xyl_cli.h:87
Definition light_xyl_cli.h:85
Definition light_xyl.h:81
Definition light_xyl.h:41
Definition light_xyl.h:65
Definition light_xyl.h:33