nRF Connect SDK API 2.8.99
|
#include <gen_ponoff_cli.h>
Data Fields | |
const struct bt_mesh_model * | 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_SET, BT_MESH_PONOFF_MSG_LEN_SET)] |
struct bt_mesh_msg_ack_ctx | ack_ctx |
void(*const | status_handler )(struct bt_mesh_ponoff_cli *cli, struct bt_mesh_msg_ctx *ctx, enum bt_mesh_on_power_up on_power_up) |
OnPowerUp status message handler. | |
Generic Power OnOff client instance.
Should be initialized with BT_MESH_PONOFF_CLI_INIT.