src.bluetooth_sig.gatt.characteristics.longitude¶
Longitude characteristic implementation.
Classes¶
Name | Description |
|---|---|
Longitude characteristic (0x2AAF). |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.longitude.LongitudeCharacteristic¶
Bases:
src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[float]Longitude characteristic (0x2AAF).
org.bluetooth.characteristic.longitude
Longitude characteristic representing geographic coordinate in degrees. Encoded as sint32 with scale factor 1e-7 degrees per unit.
- DEGREE_SCALING_FACTOR = 1e-07¶
- expected_type¶
- max_value = 180.0¶
- min_value = -180.0¶