nRF Connect SDK API 2.8.99
|
#include <gen_ponoff_srv.h>
Data Fields | |
struct bt_mesh_onoff_srv | onoff |
struct bt_mesh_dtt_srv | dtt |
const struct bt_mesh_model * | ponoff_model |
const struct bt_mesh_model * | ponoff_setup_model |
struct bt_mesh_model_pub | pub |
struct net_buf_simple | pub_buf |
uint8_t | pub_data [BT_MESH_MODEL_BUF_LEN(BT_MESH_PONOFF_OP_STATUS, BT_MESH_PONOFF_MSG_LEN_STATUS)] |
const struct bt_mesh_onoff_srv_handlers *const | onoff_handlers |
void(*const | update )(struct bt_mesh_ponoff_srv *srv, struct bt_mesh_msg_ctx *ctx, enum bt_mesh_on_power_up old_on_power_up, enum bt_mesh_on_power_up new_on_power_up) |
Update handler. | |
enum bt_mesh_on_power_up | on_power_up |
Generic Power OnOff Server instance.
Should be initialized with BT_MESH_PONOFF_SRV_INIT.