src.bluetooth_sig.gatt.characteristics.cosine_of_the_angle¶
Cosine of the Angle characteristic (0x2AE8).
Classes¶
Name | Description |
|---|---|
Cosine of the Angle characteristic (0x2AE8). |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.cosine_of_the_angle.CosineOfTheAngleCharacteristic(info: src.bluetooth_sig.types.CharacteristicInfo | None = None, validation: src.bluetooth_sig.gatt.characteristics.characteristic_meta.ValidationConfig | None = None)¶
Bases:
src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[float]Cosine of the Angle characteristic (0x2AE8).
org.bluetooth.characteristic.cosine_of_the_angle
Unitless cosine value expressed as cos(theta) x 100. M=1, d=-2, b=0 -> resolution 0.01 (-1.00 to 1.00). A raw value of 0x7F represents ‘value is not known’.
- Raises:
SpecialValueDetectedError – If raw value is a sentinel (e.g. 0x7F).