Coverage for src / bluetooth_sig / gatt / characteristics / chromaticity_tolerance.py: 100%
5 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-18 11:17 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-03-18 11:17 +0000
1"""Chromaticity Tolerance characteristic (0x2AE6)."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import ScaledUint8Template
9class ChromaticityToleranceCharacteristic(BaseCharacteristic[float]):
10 """Chromaticity Tolerance characteristic (0x2AE6).
12 org.bluetooth.characteristic.chromaticity_tolerance
14 Unitless chromaticity tolerance value.
15 M=1, d=-4, b=0 -> resolution 0.0001 (0-0.0255).
16 """
18 _template = ScaledUint8Template.from_letter_method(M=1, d=-4, b=0)