Module timesync

Source
Expand description

Protocol definitions for the timesync IC.

Structs§

TimesyncFlags
Flags for timesync messages.
TimesyncMessage
Timesync messages used before version 4.0.
TimesyncMessageV4
Timesync messages used in version 4.0 and later.

Constants§

EPOCH
The epoch used for TimesyncMessage::parent_time and TimesyncMessageV4::parent_time. Jan 1, 1601, 00:00:00 UTC.
INSTANCE_ID
The instance ID for the timesync IC.
INTERFACE_ID
The interface ID for the timesync IC.
TIMESYNC_VERSION_1
Version 1.0.
TIMESYNC_VERSION_3
Version 3.0.
TIMESYNC_VERSION_4
Version 4.0. Introduced a new message format.