Coverage for src/bluetooth_sig/gatt/characteristics/pm10_concentration.py: 100%
7 statements
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-28 01:26 +0000
« prev ^ index » next coverage.py v7.14.3, created at 2026-06-28 01:26 +0000
1"""PM10 Concentration characteristic implementation."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import IEEE11073FloatTemplate
9class PM10ConcentrationCharacteristic(BaseCharacteristic[float]):
10 """PM10 particulate matter concentration characteristic (0x2BD7).
12 Uses IEEE 11073 SFLOAT format (medfloat16) as per SIG specification.
13 Unit: kg/m³ (kilogram per cubic meter)
14 """
16 _template = IEEE11073FloatTemplate()
18 _characteristic_name: str = "Particulate Matter - PM10 Concentration"
19 _manual_unit: str = "kg/m³"