src.bluetooth_sig.gatt.characteristics.day_date_time

Day Date Time characteristic implementation.

Classes

Name

Description

DayDateTimeCharacteristic

Day Date Time characteristic (0x2A0A).

DayDateTimeData

Day, date and time data structure with day of week.

Module Contents

class src.bluetooth_sig.gatt.characteristics.day_date_time.DayDateTimeCharacteristic

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

Day Date Time characteristic (0x2A0A).

org.bluetooth.characteristic.day_date_time

Represents date, time and day of week in 8-byte format.

expected_length = 8
class src.bluetooth_sig.gatt.characteristics.day_date_time.DayDateTimeData

Bases: msgspec.Struct

Day, date and time data structure with day of week.

dt

Python datetime for date and time components

day_of_week

Day of week (1=Monday, 7=Sunday, 0=Unknown)

day_of_week: int
dt: datetime.datetime