14#ifndef BT_MESH_LIGHT_CTRL_REG_H__
15#define BT_MESH_LIGHT_CTRL_REG_H__
17#include <zephyr/bluetooth/mesh.h>
70 int32_t transition_time;
71 int64_t transition_start;
90 int32_t transition_time);
void bt_mesh_light_ctrl_reg_target_set(struct bt_mesh_light_ctrl_reg *reg, float target, int32_t transition_time)
Set the target lightness for the regulator.
float bt_mesh_light_ctrl_reg_target_get(struct bt_mesh_light_ctrl_reg *reg)
Get the target lightness for the regulator.
struct bt_mesh_light_ctrl_reg_coeff ki
Definition: light_ctrl_reg.h:33
float accuracy
Definition: light_ctrl_reg.h:37
struct bt_mesh_light_ctrl_reg_coeff kp
Definition: light_ctrl_reg.h:35
Definition: light_ctrl_reg.h:31
float up
Definition: light_ctrl_reg.h:25
float down
Definition: light_ctrl_reg.h:27
Definition: light_ctrl_reg.h:23
struct bt_mesh_light_ctrl_reg_cfg cfg
Definition: light_ctrl_reg.h:60
void(* updated)(struct bt_mesh_light_ctrl_reg *reg, float output)
Definition: light_ctrl_reg.h:64
void(* init)(struct bt_mesh_light_ctrl_reg *reg)
Definition: light_ctrl_reg.h:46
void * user_data
Definition: light_ctrl_reg.h:66
float measured
Definition: light_ctrl_reg.h:62
void(* stop)(struct bt_mesh_light_ctrl_reg *reg)
Definition: light_ctrl_reg.h:58
void(* start)(struct bt_mesh_light_ctrl_reg *reg, uint16_t lightness)
Definition: light_ctrl_reg.h:53
Definition: light_ctrl_reg.h:41