src.bluetooth_sig.gatt.characteristics.time_update_state

Time Update State characteristic (0x2A17) implementation.

Classes

Name

Description

TimeUpdateCurrentState

Time Update Current State values.

TimeUpdateResult

Time Update Result values.

TimeUpdateState

Time Update State data structure.

TimeUpdateStateCharacteristic

Time Update State characteristic.

Module Contents

class src.bluetooth_sig.gatt.characteristics.time_update_state.TimeUpdateCurrentState

Bases: enum.IntEnum

Time Update Current State values.

IDLE = 0
PENDING = 1
UPDATING = 2
class src.bluetooth_sig.gatt.characteristics.time_update_state.TimeUpdateResult

Bases: enum.IntEnum

Time Update Result values.

CANCELED = 1
NO_CONNECTION_TO_REFERENCE = 2
REFERENCE_RESPONDED_WITH_ERROR = 3
SUCCESSFUL = 0
TIMEOUT = 4
UPDATE_NOT_ATTEMPTED_AFTER_RESET = 5
class src.bluetooth_sig.gatt.characteristics.time_update_state.TimeUpdateState

Bases: msgspec.Struct

Time Update State data structure.

current_state: TimeUpdateCurrentState
result: TimeUpdateResult
class src.bluetooth_sig.gatt.characteristics.time_update_state.TimeUpdateStateCharacteristic

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

Time Update State characteristic.

Indicates the current state of time update operations.

Value: 2 bytes - Current State: uint8 (0=Idle, 1=Pending, 2=Updating) - Result: uint8 (0=Successful, 1=Canceled, etc.)