nRF Connect SDK API 0.1.0
|
#include <bluetooth/mesh/gen_battery.h>
Go to the source code of this file.
Data Structures | |
struct | bt_mesh_battery_srv |
Macros | |
#define | BT_MESH_BATTERY_SRV_INIT(_get_handler) |
Init parameters for a Generic Battery Server model instance. | |
#define | BT_MESH_MODEL_BATTERY_SRV(_srv) |
Generic Battery Server model composition data entry. | |
Functions | |
int | bt_mesh_battery_srv_pub (struct bt_mesh_battery_srv *srv, struct bt_mesh_msg_ctx *ctx, const struct bt_mesh_battery_status *status) |
Publish the Generic Battery Server model status. | |