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 <richardcoch...@gmail.com> Sent: Thursday, 17 March 2022 21:48 To: Geva, Erez (ext) (DI PA DCP R&D 3) <erez.geva....@siemens.com> Cc: Miroslav Lichvar <mlich...@redhat.com>; Martin Pecka <pecka...@fel.cvut.cz>; linuxptp-devel@lists.sourceforge.net 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 Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel