Coverage for src / bluetooth_sig / gatt / characteristics / true_wind_speed.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-11 20:14 +0000

1"""True Wind Speed characteristic implementation.""" 

2 

3from __future__ import annotations 

4 

5from .base import BaseCharacteristic 

6from .templates import ScaledUint16Template 

7 

8 

9class TrueWindSpeedCharacteristic(BaseCharacteristic[float]): 

10 """True Wind Speed characteristic (0x2A70). 

11 

12 org.bluetooth.characteristic.true_wind_speed 

13 

14 True Wind Speed measurement characteristic. 

15 """ 

16 

17 _template = ScaledUint16Template.from_letter_method(M=1, d=-2, b=0)