![]() |
nRF Connect SDK API 3.3.99
|
| int bt_mesh_light_ctrl_srv_off | ( | struct bt_mesh_light_ctrl_srv * | srv | ) |
#include <include/bluetooth/mesh/light_ctrl_srv.h>
Manually turn the light off.
Instructs the controlled Lightness Server to turn the light off (Standby state). Calling this function temporarily disables occupancy sensor triggering (referred to as "manual mode" in the documentation). The server will remain in manual mode until the manual mode timer expires, see
CONFIG_BT_MESH_LIGHT_CTRL_SRV_TIME_MANUAL
.
| [in] | srv | Light Lightness Control Server instance. |
| 0 | The Light Lightness Control Server was successfully turned off. |
| -EBUSY | The Light Lightness Control Server is disabled. |