nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches
gen_battery.h File Reference
#include <zephyr/bluetooth/mesh.h>

Go to the source code of this file.

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 }