You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/05/11 17:41:17 UTC
[plc4x] branch feature/c-api-subscriptions updated (470d751 ->
e8603ae)
This is an automated email from the ASF dual-hosted git repository.
cdutz pushed a change to branch feature/c-api-subscriptions
in repository https://gitbox.apache.org/repos/asf/plc4x.git.
from 470d751 - First draft of a subscription API
add e8603ae - Refactored the API to a more "add_item" style API
No new revisions were added by this update.
Summary of changes:
sandbox/plc4c/api/include/plc4c/connection.h | 15 +-
sandbox/plc4c/api/include/plc4c/plc4c.h | 1 +
sandbox/plc4c/api/include/plc4c/read.h | 10 +-
sandbox/plc4c/api/include/plc4c/subscribe.h | 55 +++++
sandbox/plc4c/api/include/plc4c/types.h | 8 +-
sandbox/plc4c/api/include/plc4c/write.h | 11 +-
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 | 61 ++---
.../plc4c/spi/include/plc4c/spi/types_private.h | 2 +
sandbox/plc4c/spi/src/connection.c | 85 +++----
sandbox/plc4c/spi/src/read.c | 8 +
sandbox/plc4c/spi/src/subscribe.c | 56 +++++
sandbox/plc4c/spi/src/write.c | 18 ++
17 files changed, 498 insertions(+), 109 deletions(-)
copy sandbox/plc4c/examples/{hello-world => hello-subsciptions}/CMakeLists.txt (81%)
create mode 100644 sandbox/plc4c/examples/hello-subsciptions/src/hello_subscriptions.c