nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
gen_onoff_srv.h File Reference

Go to the source code of this file.

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.