nxp-archive / openil_linuxptp

PTP IEEE 1588 stack for Linux
GNU General Public License v2.0
136 stars 60 forks source link

How does ptp4l work when ptp packets are lost or arrive too late from master? #27

Closed bobooboo closed 2 years ago

bobooboo commented 2 years ago

Hello. I have quesions about the ptp4l operation.

(1) How does ptp4l work when there is no sync packet or delay_response to be sent from master? (2) How does ptp4l work if the delay_reponse packet from master arrives too late?

and If the timeout event is triggered, how can I set the range of timeout?

Thank you!

vladimiroltean commented 2 years ago

See the announceReceiptTimeout and syncReceiptTimeout values in the ptp4l manpage. Also check out the IEEE 1588 port state machines. This is not the upstream linuxptp project, please consider asking further questions here: https://sourceforge.net/p/linuxptp/mailman/linuxptp-users/