13#ifndef __MESHX_LIGHT_CTL_SRV_H__
14#define __MESHX_LIGHT_CTL_SRV_H__
21#if CONFIG_ENABLE_LIGHT_CTL_SERVER
130 uint16_t temperature);
Common BLE Mesh interface definitions and utility functions.
struct meshx_model meshx_model_t
struct meshx_ctx meshx_ctx_t
Structure to hold context information for BLE Mesh operations.
struct meshx_light_ctl_srv_state meshx_light_ctl_srv_state_t
struct meshx_lighting_server_cb_param meshx_lighting_server_cb_param_t
Common application definitions and includes for BLE Mesh Node.
struct meshx_model_interface meshx_model_interface_t
Header file for the control task in the BLE mesh node application.
meshx_err_t
MeshX Error Codes.
meshx_err_t meshx_light_ctl_server_create(meshx_ctl_server_model_t **p_model, meshx_ptr_t p_sig_model)
Create and initialize a new CTL server model instance.
meshx_err_t meshx_get_ctl_setup_srv_model(meshx_ptr_t p_model)
Retrieves the CTL (Color Temperature Lightness) Setup Server model instance.
meshx_err_t meshx_light_ctl_srv_state_restore(meshx_ctl_server_model_t *p_model, meshx_light_ctl_srv_state_t ctl_state)
Restore the CTL state for the generic server model.
meshx_model_interface_t meshx_ctl_server_model_t
Structure representing the MeshX CTL (Color Temperature Lightness) server model.
meshx_err_t meshx_light_ctl_srv_status_send(meshx_model_t *p_model, meshx_ctx_t *ctx, int16_t delta_uv, uint16_t lightness, uint16_t temperature)
Send the Light CTL status message.
meshx_err_t meshx_light_ctl_srv_send_pack_create(meshx_ptr_t p_model, uint16_t element_id, uint16_t net_idx, uint16_t app_idx, uint16_t pub_addr, meshx_light_ctl_srv_state_t ctl_state, meshx_lighting_server_cb_param_t *light_srv_send)
Create a Light CTL Server send message packet.
meshx_err_t meshx_light_ctl_server_init(void)
Initialize the CTL server model.
meshx_model_interface_t meshx_ctl_setup_server_model_t
Structure representing the MeshX CTL (Color Temperature Lightness) Setup Server Model.
meshx_err_t meshx_light_ctl_server_delete(meshx_ctl_server_model_t **p_model)
Delete the CTL server model instance.
Header file for the production lighting server.