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

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

Data Structures

struct  bt_mesh_light_ctl_cli_handlers
 
struct  bt_mesh_light_ctl_cli
 

Macros

#define BT_MESH_LIGHT_CTL_CLI_INIT(_handlers)
 Initialization parameters for a Light CTL Client model instance.
 
#define BT_MESH_MODEL_LIGHT_CTL_CLI(_cli)
 Light CTL Client model composition data entry.
 

Functions

int bt_mesh_light_ctl_get (struct bt_mesh_light_ctl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_ctl_status *rsp)
 Get the Light CTL state of the bound server.
 
int bt_mesh_light_ctl_set (struct bt_mesh_light_ctl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_ctl_set *set, struct bt_mesh_light_ctl_status *rsp)
 Set the CTL state of the server.
 
int bt_mesh_light_ctl_set_unack (struct bt_mesh_light_ctl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_ctl_set *set)
 Set the CTL state of the server without requesting a response.
 
int bt_mesh_light_temp_get (struct bt_mesh_light_ctl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_temp_status *rsp)
 Get the Light CTL Temperature state of the bound server.
 
int bt_mesh_light_temp_set (struct bt_mesh_light_ctl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_temp_set *set, struct bt_mesh_light_temp_status *rsp)
 Set the CTL Temperature state of the server.
 
int bt_mesh_light_temp_set_unack (struct bt_mesh_light_ctl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_temp_set *set)
 Set the CTL Temperature state of the server without requesting a response.
 
int bt_mesh_light_ctl_default_get (struct bt_mesh_light_ctl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_ctl *rsp)
 Get the default CTL value of the bound server.
 
int bt_mesh_light_ctl_default_set (struct bt_mesh_light_ctl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_ctl *set, struct bt_mesh_light_ctl *rsp)
 Set the default CTL value of the server.
 
int bt_mesh_light_ctl_default_set_unack (struct bt_mesh_light_ctl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_ctl *set)
 Set the default CTL value of the server without requesting a response.
 
int bt_mesh_light_temp_range_get (struct bt_mesh_light_ctl_cli *cli, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_temp_range_status *rsp)
 Get the Light CTL Range state of the bound server.
 
int bt_mesh_light_temp_range_set (struct bt_mesh_light_ctl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_temp_range *set, struct bt_mesh_light_temp_range_status *rsp)
 Set the CTL Range of the server.
 
int bt_mesh_light_temp_range_set_unack (struct bt_mesh_light_ctl_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_light_temp_range *set)
 Set the CTL Range of the server without requesting a response.
 

Detailed Description

API for the Light CTL Client model.