nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches

◆ bt_mesh_light_ctrl_srv_enable()

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.

Parameters
[in]srvLight Lightness Control Server instance.
Return values
0The Light Lightness Control Server was successfully enabled.
-EALREADYThe Light Lightness Control Server was already enabled.