trouble-host

Crates

0.2.0

Versions

default

Flavors

Constant BATTERY_HEALTH_INFORMATION

Source
pub const BATTERY_HEALTH_INFORMATION: BluetoothUuid16;
Expand description

Bluetooth characteristic UUID.

0x2beb Battery Health Information

The Battery Health Information characteristic is used to represent the health of a battery.


§Structure

§Data Type

FieldFlags
Typeboolean8
Size1

§Description

See sec:org.bluetooth.characteristic.battery_health_information/field/flags.

––///

§Data Type

FieldCycle Count Designed Lifetime
Typeuint16
Size0 or 2

§Description

Represents the designed number of charge cycles supported by the device where one charge cycle is a discharge equivalent to the capacity of the battery at full charge in its current condition. Unit is unitless with a resolution of 1. Present if bit 0 of the Flags field is set to 1

––///

§Data Type

FieldMin Designed Operating Temperature
Typesint8
Size0 or 1

§Description

Represents the minimum designed operating temperature of the battery. Base Unit: org.bluetooth.unit.thermodynamic_temperature.degree_celsius A raw value of 0x7F represents: Greater than 126. A raw value of 0x80 represents: Less than -127. Present if bit 1 of the Flags field is set to 1

––///

§Data Type

FieldMax Designed Operating Temperature
Typesint8
Size0 or 1

§Description

Represents the maximum designed operating temperature of the battery. Base Unit: org.bluetooth.unit.thermodynamic_temperature.degree_celsius A raw value of 0x7F represents: Greater than 126. A raw value of 0x80 represents: Less than -127. Present if bit 1 of the Flags field is set to 1


more information