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

API for the Generic Battery models. More...

Modules

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

Data Structures

struct  bt_mesh_battery_status
 

Macros

#define BT_MESH_BATTERY_LVL_UNKNOWN   0xff
 
#define BT_MESH_BATTERY_TIME_MAX   0xfffffe
 
#define BT_MESH_BATTERY_TIME_UNKNOWN   0xffffff
 

Enumerations

enum  bt_mesh_battery_presence { BT_MESH_BATTERY_PRESENCE_NOT_PRESENT , BT_MESH_BATTERY_PRESENCE_PRESENT_REMOVABLE , BT_MESH_BATTERY_PRESENCE_PRESENT_NOT_REMOVABLE , BT_MESH_BATTERY_PRESENCE_UNKNOWN }
 
enum  bt_mesh_battery_indicator { BT_MESH_BATTERY_INDICATOR_CRITICALLY_LOW , BT_MESH_BATTERY_INDICATOR_LOW , BT_MESH_BATTERY_INDICATOR_GOOD , BT_MESH_BATTERY_INDICATOR_UNKNOWN }
 
enum  bt_mesh_battery_charging { BT_MESH_BATTERY_CHARGING_NOT_CHARGEABLE , BT_MESH_BATTERY_CHARGING_CHARGEABLE_NOT_CHARGING , BT_MESH_BATTERY_CHARGING_CHARGEABLE_CHARGING , BT_MESH_BATTERY_CHARGING_UNKNOWN }
 
enum  bt_mesh_battery_service { BT_MESH_BATTERY_SERVICE_INVALID , BT_MESH_BATTERY_SERVICE_NOT_REQUIRED , BT_MESH_BATTERY_SERVICE_REQUIRED , BT_MESH_BATTERY_SERVICE_UNKNOWN }
 

Detailed Description

API for the Generic Battery models.