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

◆ BT_MESH_MODEL_LIGHTNESS_SRV

#define BT_MESH_MODEL_LIGHTNESS_SRV (   _srv,
  ... 
)

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

Value:
BT_MESH_MODEL_LVL_SRV(&(_srv)->lvl), \
BT_MESH_MODEL_PONOFF_SRV(&(_srv)->ponoff), \
BT_MESH_MODEL_METADATA_CB(BT_MESH_MODEL_ID_LIGHT_LIGHTNESS_SRV, \
_bt_mesh_lightness_srv_op, &(_srv)->pub, \
_srv), \
&_bt_mesh_lightness_srv_cb, __VA_ARGS__), \
BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_LIGHT_LIGHTNESS_SETUP_SRV, \
_bt_mesh_lightness_setup_srv_op, NULL, \
_srv), \
&_bt_mesh_lightness_setup_srv_cb)
#define BT_MESH_MODEL_LVL_SRV(_srv)
Generic Level Server model composition data entry.
Definition: gen_lvl_srv.h:44
#define BT_MESH_MODEL_USER_DATA(_type, _user_data)
Utility macro for type checking of model user data.
Definition: model_types.h:113
Definition: lightness_srv.h:181

Light Lightness model entry.

Parameters
[in]_srvPointer to a Light Lightness Server model instance.
...Optional Light Lightness Server metadata if application is compiled with Large Composition Data Server support, otherwise this parameter is ignored.