Commit Graph

18 Commits

Author SHA1 Message Date
Julius Pfrommer 8370f7a6bb refactor(examples): Simplify the PubSub component state handling in the examples 2024-09-09 23:20:32 +02:00
Julius Pfrommer 2b0d4890e7 refactor(pubsub): Use the same type for the PublisherId everywhere 2024-04-21 13:39:42 +02:00
Florian Kauer c68f2a020d fix(ex): add missing headers
In 928931ec36 ("refactor(core): Move architecture-specific definition out of the public headers"),
headers were removed from the core headers, so some examples do no
longer build. Therefore, add them directly.

Fixes: 928931ec36 ("refactor(core): Move architecture-specific definition out of the public headers")
Signed-off-by: Florian Kauer <florian.kauer@linutronix.de>
2023-09-13 19:10:24 +02:00
Julius Pfrommer 0841ce9f95 refactor(examples): Remove plugin/pubsub.h API from the examples 2023-06-16 18:52:25 +02:00
Julius Pfrommer 4b8ec01827 refactor(examples): Use UA_Server_runUntilInterrupt in examples 2023-01-15 17:34:17 +01:00
Julius Pfrommer 9db33027db refactor(pubsub): Use UA_KeyValueMap instead of raw UA_KeyValuePair 2022-12-18 01:39:31 +01:00
Andreas Eckerstorfer fd76d7faae feat(pubsub): Support all publisherId types
Previously only UINT16 publisherId was fully supported.
Now all PublisherId types are supported except for
string PublisherIds in combination with fast-path.
2022-07-07 14:18:52 +02:00
Julius Pfrommer 829f8296c0 refactor(tests): Simplify the configuration of PubSub TransportLayers 2021-03-31 12:53:40 +02:00
Florian Huber 5af4e6cd19 fix(ex): change type of resuse and loopback options to UA_TYPES_BOOLEAN
The parameters are evaluated in UA_PubSubChannelUDPMC_open
[plugins/ua_pubsub_udp.c] and are expected to be of type
BOOLEAN. Using UINT32 for either of them will cause the options not to
be evaluated and hence not used.
2019-11-11 11:33:33 +01:00
Julius Pfrommer fd08d012d9 Server: Initialize the config in the server 2019-04-23 00:41:32 +02:00
Stefan Profanter 63f3653ff1 Additional header cleanup and consistent name of ns generated files 2019-03-21 20:16:31 +01:00
Julius Pfrommer c9c818868f Move header files to a more unix-like structure
This commit drops the 'ua_' prefix and changes the public includes
to the form `#include <open62541/server.h>` instead of the old
`#include <ua_server.h>`
2019-03-21 20:16:31 +01:00
Frank Meerkoetter 1648fb8aaa Use EXIT_SUCCESS/FAILURE for the examples
Make use of EXIT_SUCCESS and EXIT_FAILURE from stdlib.h.
The previous approach of returning a value from UA_StatusCode
was often broken as an exit code can (portably) only be between 0 and 125.
2019-02-09 09:34:46 +01:00
Stefan Profanter e8499689e2 CI: Use make install to collect release files 2018-12-19 01:59:38 +01:00
Stefan Profanter d715db1057 Stack: Use non-amalgamated headers in all the examples
For consistency we recommend using non-amalgamation install, thus the
examples should also use the non-amalgamated headers.
2018-12-17 22:40:07 +01:00
Julius Pfrommer 89f728aee1 Logging: Make logging a proper plugin with state and cleanup method 2018-12-04 18:39:12 +01:00
Jose Cabral 1605455a74 Fixes #1925 and clean examples 2018-07-25 08:17:51 +02:00
Andreas Ebner 008e3fe43f Add pubsub connection handling and udp plugin
Update CMakeLists.txt

adjusted check_types_memory for nodeset-1.04 types, small code analyzer fixes

analyzer fixes, added newlines

analyzer fixes, added newlines

update licence to CCZero

fix freeaddrinfo in error case, code and comment project adjustments
2018-03-30 13:11:06 +02:00