nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
light_ctl_srv.h File Reference

Go to the source code of this file.

Data Structures

struct  bt_mesh_light_ctl_srv
 

Macros

#define BT_MESH_LIGHT_CTL_SRV_INIT(_lightness_handlers, _light_temp_handlers)
 Initialization parameters for a Light CTL Server model instance.
 
#define BT_MESH_MODEL_LIGHT_CTL_SRV(_srv)
 Light CTL Server model composition data entry.
 

Functions

int bt_mesh_light_ctl_pub (struct bt_mesh_light_ctl_srv *srv, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_light_ctl_status *status)
 Publish the current CTL status.
 
int bt_mesh_light_ctl_range_pub (struct bt_mesh_light_ctl_srv *srv, struct bt_mesh_msg_ctx *ctx, enum bt_mesh_model_status status)
 Publish the current CTL Range status.
 
int bt_mesh_light_ctl_default_pub (struct bt_mesh_light_ctl_srv *srv, struct bt_mesh_msg_ctx *ctx)
 Publish the current CTL Default status.