Coverage for src/bluetooth_sig/gatt/characteristics/illuminance_16.py: 100%
5 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"""Illuminance 16 characteristic (0x2C15)."""
3from __future__ import annotations
5from .base import BaseCharacteristic
6from .templates import Uint16Template
9class Illuminance16Characteristic(BaseCharacteristic[int]):
10 """Illuminance 16 characteristic (0x2C15).
12 org.bluetooth.characteristic.illuminance_16
14 Illuminance in lux with a resolution of 1.
15 A value of 0xFFFF represents 'value is not known'.
17 Raises:
18 SpecialValueDetectedError: If raw value is a sentinel (e.g. 0xFFFF).
19 """
21 _template = Uint16Template()