Hi, What do you think of: https://sourceforge.net/p/libpmc/code/ci/master/tree/sample/sync.pl https://github.com/erezgeva/libpmc/blob/master/sample/sync.pl
I wrote it in Perl, but can easily translate to C++ or other scripts languages. Erez -----Original Message----- From: Richard Cochran <[email protected]> Sent: Thursday, 17 March 2022 21:48 To: Geva, Erez (ext) (DI PA DCP R&D 3) <[email protected]> Cc: Miroslav Lichvar <[email protected]>; Martin Pecka <[email protected]>; [email protected] Subject: Re: [Linuxptp-devel] [PATCH] Add non-portable management option to query the servo state (via SERVO_STATE_NP). On Thu, Mar 17, 2022 at 10:16:03AM +0000, Geva, Erez wrote: > There is no generic sync. > > So each user need to define a 'sync' that match to its system needs. A user-defined sync service could be based off of your pmc lib. Maybe that would be the place to have one or two examples? Thanks, Richard _______________________________________________ Linuxptp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
