Re: [Linuxptp-users] Query phc2sys

2023-09-07 Thread Nemo Crypto
Please try using "phc_ctl cmp". Thanks, Nemo On Thursday, 7 September, 2023 at 05:48:19 am GMT-4, Florian Kauer wrote: Hi Mehmet, I am not aware of an API to specifically request the current offset directly from phc2sys, but what you can do is to manually request the time from CLO

Re: [Linuxptp-users] Query phc2sys

2023-09-07 Thread Florian Kauer
Hi Mehmet, I am not aware of an API to specifically request the current offset directly from phc2sys, but what you can do is to manually request the time from CLOCK_TAI and the PHC and calculate the delta. Depends on your application if that is sufficient (or even what you actually want in the f