nRF Connect SDK API 0.1.0
|
API for the Generic Power OnOff Server. More...
Data Structures | |
struct | bt_mesh_ponoff_srv |
Macros | |
#define | BT_MESH_PONOFF_SRV_INIT(_onoff_handlers, _dtt_change_handler, _on_power_up_change_handler) |
Initialization parameters for Generic Power OnOff Server model. | |
#define | BT_MESH_MODEL_PONOFF_SRV(_srv) |
Generic Power OnOff model entry. | |
Functions | |
void | bt_mesh_ponoff_srv_set (struct bt_mesh_ponoff_srv *srv, enum bt_mesh_on_power_up on_power_up) |
Set the OnPowerUp state of a Power OnOff server. | |
int | bt_mesh_ponoff_srv_pub (struct bt_mesh_ponoff_srv *srv, struct bt_mesh_msg_ctx *ctx) |
Publish the current OnPowerUp state. | |
API for the Generic Power OnOff Server.