Coverage for src / bluetooth_sig / gatt / characteristics / length.py: 100%
7 statements
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-03 16:41 +0000
« prev ^ index » next coverage.py v7.13.5, created at 2026-04-03 16:41 +0000
1"""Length characteristic (0x2C0A)."""
3from __future__ import annotations
5from ...types.gatt_enums import CharacteristicRole
6from .base import BaseCharacteristic
7from .templates import Uint32Template
10class LengthCharacteristic(BaseCharacteristic[int]):
11 """Length characteristic (0x2C0A).
13 org.bluetooth.characteristic.length
15 Length measurement in units of 1e-7 metres (100 nm resolution).
16 """
18 _manual_role = CharacteristicRole.MEASUREMENT
19 _template = Uint32Template()