![]() |
nRF Connect SDK API 3.3.99
|
| 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.
| [in] | reg | Illuminance regulator instance. |
| [in] | target | Target lightness (setpoint). |
| [in] | transition_time | Transition time until the target lightness should reach the specified value. Pass 0 to change immediately. |