On Tue, May 22, 2018 at 06:10:51PM +0000, Matt Middendorf via Linuxptp-devel wrote: > After the master offset is computed, I would like to send it back to > a central computer for monitoring and display purposes. I was > thinking of using a general TCP message on port 320. Has anyone done > something similar to this?
We already have two ways to monitor the offset. 1. You can query the slave's estimated offset using the CURRENT_DATA_SET management message. (The TIME_STATUS_NP message provides the same value.) 2. You measure the offset using the NetSync Monitor protocol. This is implemented in the 'nsm' program. See nsm.c. I recommend using one of those two methods rather than implementing yet another way. HTH, Richard ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Linuxptp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
