nRF Connect SDK API 2.8.99
|
#include <gen_onoff_cli.h>
Data Fields | |
void(*const | status_handler )(struct bt_mesh_onoff_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_onoff_status *status) |
OnOff status message handler. | |
uint8_t | tid |
struct bt_mesh_msg_ack_ctx | ack_ctx |
struct bt_mesh_model_pub | pub |
struct net_buf_simple | pub_buf |
uint8_t | pub_data [BT_MESH_MODEL_BUF_LEN(BT_MESH_ONOFF_OP_SET, BT_MESH_ONOFF_MSG_MAXLEN_SET)] |
const struct bt_mesh_model * | model |
Generic OnOff Client structure.
Should be initialized with the BT_MESH_ONOFF_CLI_INIT macro.