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

◆ bt_mesh_light_ctrl_srv_is_on()

bool bt_mesh_light_ctrl_srv_is_on ( struct bt_mesh_light_ctrl_srv * srv)

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

Check if the Light Lightness Control Server has turned the light on.

Parameters
[in]srvLight Lightness Control Server instance.
Returns
true if the Lightness Server's light is on because of its binding with the Light Lightness Control Server, false otherwise.