![]() |
nRF Connect SDK API 3.3.99
|
| int bt_mesh_light_ctrl_srv_disable | ( | struct bt_mesh_light_ctrl_srv * | srv | ) |
#include <include/bluetooth/mesh/light_ctrl_srv.h>
Disable the Light Lightness Control Server.
The server must be enabled to take control of the Lightness Server. Disabling the server disengages the control over the Lightness Server, which will start running as an independent model.
| [in] | srv | Light Lightness Control Server instance. |
| 0 | The Light Lightness Control Server was successfully enabled. |
| -EALREADY | The Light Lightness Control Server was already enabled. |