src.bluetooth_sig.gatt.characteristics.cycling_power_feature¶
Cycling Power Feature characteristic implementation.
Classes¶
Name | Description |
|---|---|
Cycling Power Feature characteristic (0x2A65). |
|
Parsed data from Cycling Power Feature characteristic. |
|
Cycling Power Feature flags as per Bluetooth SIG specification. |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.cycling_power_feature.CyclingPowerFeatureCharacteristic¶
Bases:
src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[CyclingPowerFeatureData]Cycling Power Feature characteristic (0x2A65).
Used to expose the supported features of a cycling power sensor. Contains a 32-bit bitmask indicating supported measurement capabilities.
- class src.bluetooth_sig.gatt.characteristics.cycling_power_feature.CyclingPowerFeatureData¶
Bases:
msgspec.StructParsed data from Cycling Power Feature characteristic.
- features: CyclingPowerFeatures¶
- class src.bluetooth_sig.gatt.characteristics.cycling_power_feature.CyclingPowerFeatures¶
Bases:
enum.IntFlagCycling Power Feature flags as per Bluetooth SIG specification.
- ACCUMULATED_ENERGY_SUPPORTED = 2¶
- CRANK_REVOLUTION_DATA_SUPPORTED = 8¶
- PEDAL_POWER_BALANCE_SUPPORTED = 1¶
- WHEEL_REVOLUTION_DATA_SUPPORTED = 4¶