Coverage for src/bluetooth_sig/gatt/characteristics/pm1_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"""PM1 Concentration characteristic implementation."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import IEEE11073FloatTemplate
9class PM1ConcentrationCharacteristic(BaseCharacteristic[float]):
10 """Particulate Matter - PM1 Concentration characteristic (0x2BD5).
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 - PM1 Concentration"
19 _manual_unit: str = "kg/m³"