![]() |
nRF Connect SDK API 3.3.99
|
| int bt_mesh_light_ctrl_srv_enable | ( | struct bt_mesh_light_ctrl_srv * | srv | ) |
#include <include/bluetooth/mesh/light_ctrl_srv.h>
Enable the Light Lightness Control Server.
The Server must be enabled to take control of the Lightness Server.
| [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. |