Coverage for src / bluetooth_sig / gatt / characteristics / time_accuracy.py: 100%

5 statements  

« prev     ^ index     » next       coverage.py v7.13.1, created at 2026-01-11 20:14 +0000

1"""Time Accuracy characteristic implementation.""" 

2 

3from __future__ import annotations 

4 

5from .base import BaseCharacteristic 

6from .templates import Uint8Template 

7 

8 

9class TimeAccuracyCharacteristic(BaseCharacteristic[int]): 

10 """Time Accuracy characteristic (0x2A12). 

11 

12 org.bluetooth.characteristic.time_accuracy 

13 

14 Represents the accuracy of the time source in increments of 1/8 of a second. 

15 """ 

16 

17 _template = Uint8Template()