src.bluetooth_sig.gatt.characteristics.supported_speed_range

Supported Speed Range characteristic implementation.

Classes

Name

Description

SupportedSpeedRangeCharacteristic

Supported Speed Range characteristic (0x2AD4).

SupportedSpeedRangeData

Data class for supported speed range.

Module Contents

class src.bluetooth_sig.gatt.characteristics.supported_speed_range.SupportedSpeedRangeCharacteristic

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

Supported Speed Range characteristic (0x2AD4).

org.bluetooth.characteristic.supported_speed_range

Represents the speed range supported by a fitness machine. Three fields: minimum speed, maximum speed, and minimum increment. Each is a uint16 with M=1, d=-2, b=0 (0.01 km/h resolution).

expected_length: int = 6
min_length: int = 6
class src.bluetooth_sig.gatt.characteristics.supported_speed_range.SupportedSpeedRangeData

Bases: msgspec.Struct

Data class for supported speed range.

All values are in kilometres per hour with 0.01 km/h resolution.

maximum: float
minimum: float
minimum_increment: float