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

5 statements  

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

1"""Coefficient characteristic implementation.""" 

2 

3from __future__ import annotations 

4 

5from .base import BaseCharacteristic 

6from .templates import Float32Template 

7 

8 

9class CoefficientCharacteristic(BaseCharacteristic[float]): 

10 """Coefficient characteristic (0x2AFA). 

11 

12 org.bluetooth.characteristic.coefficient 

13 

14 Represents a coefficient value using IEEE-754 32-bit float. 

15 """ 

16 

17 _template = Float32Template()