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

◆ BT_MESH_LIGHT_CTRL_SRV_INIT

#define BT_MESH_LIGHT_CTRL_SRV_INIT ( _lightness_srv)

#include <include/bluetooth/mesh/light_ctrl_srv.h>

Value:
{ \
.cfg = BT_MESH_LIGHT_CTRL_SRV_CFG_INIT, \
&_bt_mesh_light_ctrl_srv_onoff), \
.lightness = _lightness_srv \
}
#define BT_MESH_ONOFF_SRV_INIT(_handlers)
Init parameters for a Generic OnOff Server model instance.
Definition gen_onoff_srv.h:33

Initialization parameters for Light Lightness Control Server.

This will enable the specification-defined regulator if

CONFIG_BT_MESH_LIGHT_CTRL_SRV_REG 

and

CONFIG_BT_MESH_LIGHT_CTRL_REG_SPEC 

are selected.

Parameters
[in]_lightness_srvPointer to the Light Lightness Server model this server controls.