src.bluetooth_sig.gatt.characteristics.time_accuracy

Time Accuracy characteristic implementation.

Classes

Name

Description

TimeAccuracyCharacteristic

Time Accuracy characteristic (0x2A12).

Module Contents

class src.bluetooth_sig.gatt.characteristics.time_accuracy.TimeAccuracyCharacteristic

Bases: src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[float]

Time Accuracy characteristic (0x2A12).

org.bluetooth.characteristic.time_accuracy

Represents the accuracy (drift) of time information in seconds. M=1, d=0, b=-3 → scale factor 1/8 (0.125s per raw unit). Valid range: 0-253 raw (0s to 31.625s). Raw 254 = drift > 31.625s, raw 255 = unknown.

Raises:

SpecialValueDetectedError – If raw value is a sentinel (e.g. 0xFE, 0xFF).