nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
bt_mesh_battery_srv Struct Reference

#include <gen_battery_srv.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_BATTERY_OP_STATUS, BT_MESH_BATTERY_MSG_LEN_STATUS)]
 
void(*const get )(struct bt_mesh_battery_srv *srv, struct bt_mesh_msg_ctx *ctx, struct bt_mesh_battery_status *rsp)
 Get the Battery state.
 

Detailed Description

Generic Battery Server instance. Should primarily be initialized with the BT_MESH_BATTERY_SRV_INIT macro.


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