src.bluetooth_sig.gatt.characteristics.supported_power_range

Supported Power Range characteristic implementation.

Classes

Name

Description

SupportedPowerRangeCharacteristic

Supported Power Range characteristic (0x2AD8).

SupportedPowerRangeData

Data class for supported power range.

Module Contents

class src.bluetooth_sig.gatt.characteristics.supported_power_range.SupportedPowerRangeCharacteristic

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

Supported Power Range characteristic (0x2AD8).

org.bluetooth.characteristic.supported_power_range

Specifies minimum power, maximum power, and minimum power increment supported by a fitness machine (FTMS v1.0).

expected_length: int = 6
min_length: int = 6
class src.bluetooth_sig.gatt.characteristics.supported_power_range.SupportedPowerRangeData

Bases: msgspec.Struct

Data class for supported power range.

Per FTMS v1.0: Minimum Power (sint16) + Maximum Power (sint16) + Minimum Increment (uint16), all in Watts.

maximum: int
minimum: int
minimum_increment: int