nRF Connect SDK API 2.8.99
|
API for the Generic OnOff Server model. More...
Data Structures | |
struct | bt_mesh_onoff_srv_handlers |
struct | bt_mesh_onoff_srv |
Macros | |
#define | BT_MESH_ONOFF_SRV_INIT(_handlers) |
Init parameters for a Generic OnOff Server model instance. | |
#define | BT_MESH_MODEL_ONOFF_SRV(_srv) |
Generic OnOff Server model composition data entry. | |
Functions | |
int | bt_mesh_onoff_srv_pub (struct bt_mesh_onoff_srv *srv, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_onoff_status *status) |
Publish the Generic OnOff Server model status. | |
API for the Generic OnOff Server model.