plc4x icon indicating copy to clipboard operation
plc4x copied to clipboard

feat: First draft of a publication API (Still needs some fine-tuning)

Open chrisdutz opened this issue 2 years ago • 2 comments
trafficstars

Initial version of a publication API, which is intended to mirror the subscription API. It is currently only needed for the coming Profinet NG driver, which allows not only subscribing, but also publishing data cyclically.

chrisdutz avatar Jul 23 '23 11:07 chrisdutz

Admittedly I'm not 100% happy with our current Subscription part ... but I'd currently try to keep the Publication API in line with the current Subscription API.

chrisdutz avatar Jul 23 '23 11:07 chrisdutz

Publication API is a good idea. I remember that I had to implement some workarounds for canopen above plc4x api, just to keep other bus participants happy. Also, some tools/chips may have their way to handle "publish" tasks due to time requirements - from this point of view having a higher level API to draw contract for applications is definitely a step forward!

splatch avatar Sep 28 '23 12:09 splatch