Coverage for src / bluetooth_sig / gatt / characteristics / chromaticity_coordinate.py: 100%
5 statements
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 20:14 +0000
« prev ^ index » next coverage.py v7.13.1, created at 2026-01-11 20:14 +0000
1"""Chromaticity Coordinate characteristic implementation."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import ScaledUint16Template
9class ChromaticityCoordinateCharacteristic(BaseCharacteristic[float]):
10 """Chromaticity Coordinate characteristic (0x2B1C).
12 org.bluetooth.characteristic.chromaticity_coordinate
14 Represents chromaticity coordinate with resolution 1/65535.
15 """
17 _template = ScaledUint16Template.from_letter_method(M=1, d=0, b=-16)