nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
bt_mesh_battery_cli Struct Reference

#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
 

Detailed Description

Generic Battery Client structure.

Should be initialized with the BT_MESH_BATTERY_CLI_INIT macro.


The documentation for this struct was generated from the following file: