BT_MESH_MODEL_PONOFF_SRV(&(_srv)->ponoff), \
BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_GEN_POWER_LEVEL_SRV, \
_bt_mesh_plvl_srv_op, &(_srv)->pub, \
&_bt_mesh_plvl_srv_cb), \
BT_MESH_MODEL_CB(BT_MESH_MODEL_ID_GEN_POWER_LEVEL_SETUP_SRV, \
_bt_mesh_plvl_setup_srv_op, NULL, \
&_bt_mesh_plvl_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: gen_plvl_srv.h:144
Generic Power Level model entry.