![]() |
nRF Connect SDK API 3.3.99
|
| int bt_mesh_light_ctrl_srv_on | ( | struct bt_mesh_light_ctrl_srv * | srv | ) |
#include <include/bluetooth/mesh/light_ctrl_srv.h>
Turn the light on.
Instructs the controlled Lightness Server to turn the light on. If the light was already on, the dimming timeout is reset. If the light was in the Prolong state, it is moved back into the On state.
| [in] | srv | Light Lightness Control Server instance. |
| 0 | The Light Lightness Control Server was successfully turned on. |
| -EBUSY | The Light Lightness Control Server is disabled. |