src.bluetooth_sig.gatt.characteristics.exact_time_256¶
Exact Time 256 characteristic implementation.
Classes¶
Name | Description |
|---|---|
Exact Time 256 characteristic (0x2A0C). |
|
Exact time with 1/256 second resolution. |
Module Contents¶
- class src.bluetooth_sig.gatt.characteristics.exact_time_256.ExactTime256Characteristic¶
Bases:
src.bluetooth_sig.gatt.characteristics.base.BaseCharacteristic[ExactTime256Data]Exact Time 256 characteristic (0x2A0C).
org.bluetooth.characteristic.exact_time_256
Represents exact time with 1/256 second resolution in 9-byte format.
- expected_length = 9¶
- class src.bluetooth_sig.gatt.characteristics.exact_time_256.ExactTime256Data¶
Bases:
msgspec.StructExact time with 1/256 second resolution.
- dt¶
Python datetime for date and time components
- day_of_week¶
Day of week (1=Monday, 7=Sunday, 0=Unknown)
- fractions256¶
Fractions of a second (1/256 resolution, 0-255)