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

1"""High Resolution Height characteristic (0x2B47).""" 

2 

3from __future__ import annotations 

4 

5from .base import BaseCharacteristic 

6from .templates import ScaledUint16Template 

7 

8 

9class HighResolutionHeightCharacteristic(BaseCharacteristic[float]): 

10 """High Resolution Height characteristic (0x2B47). 

11 

12 org.bluetooth.characteristic.high_resolution_height 

13 

14 High Resolution Height characteristic. 

15 """ 

16 

17 _template = ScaledUint16Template(scale_factor=0.0001) # 0.1mm resolution (M=1, d=-4, b=0)