nRF Connect SDK API 2.8.99
|
#include <gen_battery_cli.h>
Data Fields | |
void(*const | status_handler )(struct bt_mesh_battery_cli *cli, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_battery_status *status) |
Battery status message handler. | |
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_BATTERY_OP_GET, BT_MESH_BATTERY_MSG_LEN_GET)] |
const struct bt_mesh_model * | model |
Generic Battery Client structure.
Should be initialized with the BT_MESH_BATTERY_CLI_INIT macro.