nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
Generic OnOff Server model

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.
 

Detailed Description

API for the Generic OnOff Server model.