On Wed, Nov 11, 2020 at 02:16:55PM +0100, Luigi 'Comio' Mantellini wrote: > Thanks Richard, > > I will try to better describe my scenario. > On my input-only ITU 8271 interface I receive a Time Event message (with > T1=Time and T2 timestamp and a configurable "cable delay") and at the same > time I receive an Announcement-like message.
This protocol is not the PTP. It just isn't. Don't pretend that it is. > Ideally, this port should work like any other slave port (slave > only). No, I don't think so. > My > question is: how can I push T1, T2 and the "cable delay' into linuxPTP? (T3 > and T4 can be derived easily). And How Can I push the announcement-like > message, that can be easily mapped 1-to-1 to a PTP Announce message? Don't even try that. Write a program that understands your unique device and protocol. Let the program configure ptp4l and ts2phc based on the result of the unique protocol. > You speak about an already available IPC interface, but, sorry if I ask > again, can you point me to the exact calls to use? I will appreciate it a > lot. There is the management interface from the IEEE 1588 standard. Your program can use that directly or call out to the pmc program. Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel