nRF Connect SDK API 0.1.0
Loading...
Searching...
No Matches
Generic Battery Server model

API for the Generic Battery Server model. More...

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.
 

Detailed Description

API for the Generic Battery Server model.