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

5 statements  

« prev     ^ index     » next       coverage.py v7.11.0, created at 2025-10-30 00:10 +0000

1"""Apparent Wind Speed characteristic implementation.""" 

2 

3from __future__ import annotations 

4 

5from .base import BaseCharacteristic 

6from .templates import ScaledUint16Template 

7 

8 

9class ApparentWindSpeedCharacteristic(BaseCharacteristic): 

10 """Apparent Wind Speed characteristic (0x2A72). 

11 

12 org.bluetooth.characteristic.apparent_wind_speed 

13 

14 Apparent Wind Speed measurement characteristic. 

15 """ 

16 

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