Closed JunAnnLaiIntel closed 3 months ago
one more thing. this is WIP . but is it enough for a incremental checkin ?
Added event definition in m4 file to avoid following build error. make command will generate proc.h file accordingly.
connect.cpp: In function 'bool event_subscription(jcl_handle**)':
connect.cpp:237:16: error: 'NOTIFY_PORT_STATE_NP' was not declared in this scope
237 | d.setEvent(NOTIFY_PORT_STATE_NP);
| ^~~~~~~~
connect.cpp:238:16: error: 'NOTIFY_ALL' was not declared in this scope
238 | d.setEvent(NOTIFY_ALL);
| ^~~~~~
This PR is to add the connection between jclklib proxy and ptp4l (uds socket) by using ptpmgmt library. For testing purpose, there is printing out the msg "received time sync data" when both ptp4l server and client are synced, to make sure the connection is established.