Re: [Linuxptp-devel] [Linuxptp-users] How do I implement Sync message receive timeout according to
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
|
From: Richard C. <ric...@gm...> - 2019-10-13 01:52:44
|
On Fri, Oct 11, 2019 at 07:23:38AM +0000, Y.b. Lu wrote: > I'm just not familiar how applications use 802.1AS synchronized time. I don't know of any open source applications using 802.1AS either! > For physical clock adjustment, I know we have /dev/ptpx device to access for time. > For free running clock, I can see master_local_rr is used for master/local rate ratio which makes sense for TC to synchronize frequency, > but for OC/BC/end instance, where to find the synchronized time. Is the TIME_STATUS_NP info enough for applications? Given master_offset at ingress_time and cumulativeScaledRateOffset, you can calculate the remote time. Thanks, Richard |