nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ bt_mesh_light_ctrl_reg_target_set()

void bt_mesh_light_ctrl_reg_target_set ( struct bt_mesh_light_ctrl_reg * reg,
float target,
int32_t transition_time )

#include <include/bluetooth/mesh/light_ctrl_reg.h>

Set the target lightness for the regulator.

Sets the target lightness, also known as the setpoint, for the regulator. Transition time is optional.

Parameters
[in]regIlluminance regulator instance.
[in]targetTarget lightness (setpoint).
[in]transition_timeTransition time until the target lightness should reach the specified value. Pass 0 to change immediately.