Re: [Linuxptp-users] How do I use "slave_event_monitor" to get the management info(such as offset,
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: <957...@qq...> - 2022-06-21 06:36:15
|
Thank you very much, Richard ------------------ Original ------------------ From: "Richard Cochran";<ric...@gm...>; Send time: Tuesday, Jun 21, 2022 1:41 PM To: "这个🍊 不太冷"<957...@qq...>; Cc: "linuxptp-users"<lin...@li...>; Subject: Re: [Linuxptp-users] How do I use "slave_event_monitor" to get the management info(such as offset, delay, master time) which should from PMC. On Tue, Jun 21, 2022 at 11:12:45AM +0800, 这个🍊 不太冷 wrote: > The parameter “duration” represent the subscribe client whether in the validity period? > If duration time is expired ptpt4l will remove it and the client need to re-subscribe it? Yes, duration is given in seconds. > Another question: Is there any conditions for using "slave_monitor_event"? eg. delay_mechanism must be E2E or P2P or both are OK. > montior_delay() is only called in case DELAY_RESP(process_delay_resp()) while not in case PDELAY_RESP. It is e2e only, Thanks, Richard |