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

5 statements  

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

1"""Waist Circumference characteristic (0x2A97).""" 

2 

3from __future__ import annotations 

4 

5from .base import BaseCharacteristic 

6from .templates import ScaledUint16Template 

7 

8 

9class WaistCircumferenceCharacteristic(BaseCharacteristic[float]): 

10 """Waist Circumference characteristic (0x2A97). 

11 

12 org.bluetooth.characteristic.waist_circumference 

13 

14 Waist Circumference characteristic. 

15 """ 

16 

17 _template = ScaledUint16Template(scale_factor=0.01) # 1cm resolution