The only state I know is “port state”, that you can see with PORT_DATA_SET or PORT_PROPERTIES_NP
I do not see any TLV for “clock state”. The clock state is fetched with clock_synchronize() See port_synchronize() in port.c Erez From: Ruby Bhati <rubybhati1...@gmail.com> Sent: Thursday, 15 April 2021 13:10 To: Geva, Erez (ext) (DI PA DCP R&D 3) <erez.geva....@siemens.com> Subject: Re: [Linuxptp-devel] Get servo state from PMC Hi Erez, Actually i can see in ptp4l, there are four servo states as SERVO_UNLOCKED SERVO_JUMP SERVO_LOCKED SERVO_LOCKED_STABLE In port.c, there is function clock_servo_state to get the current servo state. Is there any way from pmc also I can read this servo state Thanks, Ruby Bhati On Thu, Apr 15, 2021 at 4:31 PM Geva, Erez <erez.geva....@siemens.com<mailto:erez.geva....@siemens.com>> wrote: Hi, Can you be more explicit? What do you mean by “servo state”? What state you want to query? Erez From: Ruby Bhati <rubybhati1...@gmail.com<mailto:rubybhati1...@gmail.com>> Sent: Thursday, 15 April 2021 12:49 To: linuxptp-devel@lists.sourceforge.net<mailto:linuxptp-devel@lists.sourceforge.net> Subject: Re: [Linuxptp-devel] Get servo state from PMC Hi, Updating the Qus. Is there any way to get the current running servo state via pmc? On Thu, Apr 15, 2021 at 4:13 PM Ruby Bhati <rubybhati1...@gmail.com<mailto:rubybhati1...@gmail.com>> wrote: Hi Is there any way to get the current running state via pmc? Thanks, Ruby Bhati
_______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel