Coverage for src/bluetooth_sig/gatt/characteristics/high_resolution_height.py: 100%
5 statements
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-28 01:26 +0000
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-28 01:26 +0000
1"""High Resolution Height characteristic (0x2B47)."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import ScaledUint16Template
9class HighResolutionHeightCharacteristic(BaseCharacteristic[float]):
10 """High Resolution Height characteristic (0x2B47).
12 org.bluetooth.characteristic.high_resolution_height
14 High Resolution Height characteristic.
15 """
17 _template = ScaledUint16Template(scale_factor=0.0001) # 0.1mm resolution (M=1, d=-4, b=0)