src.bluetooth_sig.gatt.characteristics.energy_32

Energy 32 characteristic (0x2AF2).

Classes

Name

Description

Energy32Characteristic

Energy 32 characteristic (0x2AF2).

Module Contents

class src.bluetooth_sig.gatt.characteristics.energy_32.Energy32Characteristic

Bases: src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[int]

Energy 32 characteristic (0x2AF2).

org.bluetooth.characteristic.energy_32

Energy in watt-hours with a resolution of 1 Wh. A value of 0xFFFFFFFE represents ‘value is not valid’. A value of 0xFFFFFFFF represents ‘value is not known’.

Raises:

SpecialValueDetectedError – If raw value is a sentinel (e.g. 0xFFFFFFFF).