apache / plc4x

PLC4X The Industrial IoT adapter
https://plc4x.apache.org/
Apache License 2.0
1.2k stars 389 forks source link

[Feature Request]: Support for software/hardware timestamp information in CANopen driver #1471

Open splatch opened 3 months ago

splatch commented 3 months ago

What would you like to happen?

JavaCAN library (see pschichtel/JavaCAN#5) recently introduced support for access to hardware or software timestamp tracked by socketcan interfaces. We can integrate this information within our driver to better track timing of operations.

Programming Languages

Protocols

chrisdutz commented 3 months ago

Currently the PlcSubscriptionEvent should have a getTimestamp() method ... I think this should be what you're looking for.

However am I currently brainstorming a bit on how to refactor the SubscriptionAPI to use one callback per request and not per field, so this API is a bit in flux right now.