Coverage for src / bluetooth_sig / gatt / services / elapsed_time.py: 100%
6 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"""ElapsedTime Service implementation."""
3from __future__ import annotations
5from typing import ClassVar
7from ..characteristics.registry import CharacteristicName
8from .base import BaseGattService
11class ElapsedTimeService(BaseGattService):
12 """Elapsed Time Service implementation (0x183F).
14 Provides elapsed time tracking for BLE devices without a
15 real-time clock.
16 """
18 service_characteristics: ClassVar[dict[CharacteristicName, bool]] = {
19 CharacteristicName.ELAPSED_TIME: True,
20 }