src.bluetooth_sig.gatt.characteristics.csc_feature¶
CSC Feature characteristic implementation.
Classes¶
Name | Description |
|---|---|
CSC Feature characteristic (0x2A5C). |
|
Parsed data from CSC Feature characteristic. |
|
CSC Feature flags as per Bluetooth SIG specification. |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.csc_feature.CSCFeatureCharacteristic¶
Bases:
src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[CSCFeatureData]CSC Feature characteristic (0x2A5C).
Used to expose the supported features of a CSC sensor. Contains a 16-bit bitmask indicating supported measurement capabilities.
- class src.bluetooth_sig.gatt.characteristics.csc_feature.CSCFeatureData¶
Bases:
msgspec.StructParsed data from CSC Feature characteristic.
- features: CSCFeatures¶
- class src.bluetooth_sig.gatt.characteristics.csc_feature.CSCFeatures¶
Bases:
enum.IntFlagCSC Feature flags as per Bluetooth SIG specification.
- CRANK_REVOLUTION_DATA_SUPPORTED = 2¶
- MULTIPLE_SENSOR_LOCATIONS_SUPPORTED = 4¶
- WHEEL_REVOLUTION_DATA_SUPPORTED = 1¶