This is an automated email from the ASF dual-hosted git repository. otto pushed a change to branch feature/c-api in repository https://gitbox.apache.org/repos/asf/plc4x.git.
from 7067860 Merge pull request #152 from ottobackwards/c-api-m10 add 470d751 - First draft of a subscription API add e8603ae - Refactored the API to a more "add_item" style API add d1f2d8c - Some cleanup new 6789205 Merge pull request #153 from apache/feature/c-api-subscriptions The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: sandbox/plc4c/api/include/plc4c/connection.h | 59 ++-- sandbox/plc4c/api/include/plc4c/plc4c.h | 1 + sandbox/plc4c/api/include/plc4c/read.h | 16 +- sandbox/plc4c/api/include/plc4c/subscribe.h | 244 +++++++++++++++ sandbox/plc4c/api/include/plc4c/types.h | 32 ++ sandbox/plc4c/api/include/plc4c/write.h | 17 +- sandbox/plc4c/drivers/modbus/src/driver_modbus.c | 4 + sandbox/plc4c/drivers/s7/src/driver_s7.c | 4 + sandbox/plc4c/examples/CMakeLists.txt | 1 + .../CMakeLists.txt | 4 +- .../hello-subsciptions/src/hello_subscriptions.c | 264 +++++++++++++++++ .../plc4c/examples/hello-world/src/hello_world.c | 65 ++-- .../plc4c/spi/include/plc4c/spi/types_private.h | 67 ++++- sandbox/plc4c/spi/src/connection.c | 93 +++--- sandbox/plc4c/spi/src/read.c | 16 + sandbox/plc4c/spi/src/subscribe.c | 330 +++++++++++++++++++++ sandbox/plc4c/spi/src/write.c | 25 ++ 17 files changed, 1113 insertions(+), 129 deletions(-) create mode 100644 sandbox/plc4c/api/include/plc4c/subscribe.h copy sandbox/plc4c/examples/{hello-world => hello-subsciptions}/CMakeLists.txt (81%) create mode 100644 sandbox/plc4c/examples/hello-subsciptions/src/hello_subscriptions.c create mode 100644 sandbox/plc4c/spi/src/subscribe.c