trouble-host

Crates

0.2.0

Versions

default

Flavors

Constant BATTERY_TIME_STATUS

Source
pub const BATTERY_TIME_STATUS: BluetoothUuid16;
Expand description

Bluetooth characteristic UUID.

0x2bee Battery Time Status

The Battery Time Status characteristic is used to represent time estimates for discharging and charging.


§Structure

§Data Type

FieldFlags
Typeboolean8
Size1

§Description

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

––///

§Data Type

FieldTime until Discharged
Typeuint24
Size3

§Description

Estimated time in minutes until discharged. Base unit: org.bluetooth.unit.time.minute A value of 0xFFFFFF represents: Unknown A value of 0xFFFFFE represents: Greater than 0xFFFFFD

––///

§Data Type

FieldTime until Discharged on Standby
Typeuint24
Size0 or 3

§Description

Estimated time in minutes until discharged assuming for the remaining time the device is in standby. Base unit: org.bluetooth.unit.time.minute A value of 0xFFFFFF represents: Unknown A value of 0xFFFFFE: represents: Greater than 0xFFFFFD Present if bit 0 of the Flags field is set to 1

––///

§Data Type

FieldTime until Recharged
Typeuint24
Size0 or 3

§Description

Estimated time in minutes until recharged. Base unit: org.bluetooth.unit.time.minute A value of 0xFFFFFF represents: Unknown A value of 0xFFFFFE represents: Greater than 0xFFFFFD Present if bit 1 of the Flags field is set to 1


more information