>> But my point was to use the actual binary management TLVs, i.e. the
>> messages that pmc turns into text.
> 
> I don’t follow this. How would my script get access to the management TLVs? 
> It sounds like you’re suggesting that I reimplement PMC in my own 
> application? 


You can take pmc.c and hack away :) (I was going to do this for my own 
application, but I really need a BSD licensed client library,  so I’m going to 
have to look or build an alternative implementation.)

Possibly an extension to pmc(8) for emitting JSON would better suit your use 
case, depends on how your application is structured I guess?

_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to