On Wed, Nov 11, 2020 at 10:04:46AM +0100, Luigi 'Comio' Mantellini wrote: > This is an aspect really interesting for me, because in my environment I > haven't true linux interfaces and the serial line discussed above. > Is there an example of "new transport" implementation using your API?
Yes, there is udp, udp6, and raw. > My idea is to directly hack transport.c/.h files adding a new entry inside > the create switch. Is it the correct way? No, that is a terrible idea. > Or do you have any other > suggestions? Yes, and I already told you: > > Don't over-engineer it. Just write a program that controls the serial > > port with PPS. All of the IPC interfaces that you need are already > > implemented. There is no need to change ptp4l, phc2sys, or ts2phc. Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel