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

◆ BT_MESH_LIGHT_CTRL_SRV_INIT_WITH_REG

#define BT_MESH_LIGHT_CTRL_SRV_INIT_WITH_REG ( _lightness_srv,
_reg )

#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, \
.reg = _reg \
}
#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 with custom regulator.

Only available if

CONFIG_BT_MESH_LIGHT_CTRL_SRV_REG 

is selected.

Parameters
[in]_lightness_srvPointer to the Light Lightness Server model this server controls.
[in]_regPointer to the Illuminance regulator to use.