Andreas Ebner
685d89fca9
feat(pubsub) add new example to reproduce configuration based on the shared binary
2025-04-09 23:33:57 +02:00
Andreas Ebner
cb26f1fb92
feat(examples) extended pubsub offset example to align with b_r output
2025-04-06 10:59:45 +02:00
Noel Graf
7325bc643c
Adapt example to reproduce offset calculation error
2025-04-04 15:49:07 +02:00
Noel Graf
0a64aeaf6d
feat(example): Publisher example extended with code snippet showing how to unhook the custom state machine
2025-03-19 08:31:35 +01:00
Ómar Högni Guðmarsson
9056bbf887
fix(build): compilation on macos
...
After some commits on the master branch compilation
for macos was not working. This PR restores macos
to a building state.
Co-authored-by: Jón Bjarni Bjarnason <jon@centroid.is >
2025-03-18 14:58:00 +01:00
Julius Pfrommer
d5acbf9dbc
fix(examples): Fix memleak in server_pubsub_subscribe_rt_state_machine.c
2025-02-27 04:24:15 +01:00
Julius Pfrommer
07f3f6dd27
fix(examples): Don't publish delta-frames for server_pubsub_publish_rt_state_machine.c
2025-02-27 04:24:15 +01:00
Julius Pfrommer
520e3e2283
fix(examples): Correctly set the AttributeId for publishing in server_pubsub_publish_rt_offsets.c
2025-02-27 04:24:15 +01:00
Julius Pfrommer
1248e2d601
fix(tests): Fix a memleak in server_pubsub_subscribe_rt_offsets.c
2025-02-27 04:24:15 +01:00
Julius Pfrommer
afb48d1745
feat(pubsub): Add componentLifecycleCallback to the PubSub config
2025-02-23 08:36:58 +01:00
Julius Pfrommer
de6e63bfff
refactor(client): Pull in inline definitions and better typing of async callback methods
2025-02-20 10:45:26 +01:00
Julius Pfrommer
e10110d36e
refactor(build): Only build _PARSING features if _JSON is enabled
2025-02-11 21:36:56 +01:00
Julius Pfrommer
4c90118caa
fix(examples): _XOPEN_SOURCE needs to be defined via our config.h before including libc libraries
2025-02-03 20:12:16 +01:00
Julius Pfrommer
748f39ad5e
Merge remote-tracking branch 'origin/master' into merge_14_master_25
2025-01-25 19:07:12 +01:00
Julius Pfrommer
94a771cb80
Merge remote-tracking branch 'origin/1.4' into merge_14_master_25
2025-01-25 19:07:11 +01:00
Julius Pfrommer
3bec159cb9
Merge remote-tracking branch 'origin/1.4' into merge_14_master_25
2025-01-25 19:06:56 +01:00
Noel Graf
d49cb241ba
feat(example): Add an example of using encryption with a filestore backend
2025-01-24 22:34:30 +01:00
Noel Graf
8fb31b2e96
fix(example): Allow connection with username and password without encryption
2025-01-24 22:29:33 +01:00
Julius Pfrommer
46c110085f
refactor(examples): Remove attic-folder for old PubSub-RT examples
2025-01-19 22:33:50 +01:00
Julius Pfrommer
5bf6f0c3e7
refactor(pubsub): Remove the old direct-access API
...
The public Offset Table API should be used for realtime operations on
the NetworkMessages instead.
2025-01-19 22:33:50 +01:00
Julius Pfrommer
e0ef113a84
refactor(pubsub): Remove old PubSubRTLevel enum
2025-01-19 22:33:50 +01:00
Julius Pfrommer
a4310b1460
feat(examples): Add examples for the RT offset table usage
2025-01-15 17:03:14 +01:00
Julius Pfrommer
01a372846c
refactor(example): Better naming of PubSub-RT examples
2025-01-15 17:03:14 +01:00
Noel Graf
34d957c561
fix(server): Consistency in the use of the Windows architecture flag
2025-01-09 15:00:38 +01:00
Florian La Roche
339cc19ff4
refactor(examples,tests): avoid spaces for mDNS records
...
Avoid spaces in mdnsServerName as this is used for mDNS records.
This is a backport of 711b032384
into the 1.4 branch.
Signed-off-by: Florian La Roche <Florian.LaRoche@gmail.com >
2025-01-02 20:50:56 +01:00
Vasilij Strassheim
a8930fd50a
refactor(server): Clean up mDNS module
...
Separate mDNS related code from discovery module to enable easier integration
of different mDNS implementations. Add new API functions and make other functions
static to reflect their use in the mDNS module only.
The libmdnsd implementation uses an ip entry for the server and selects the
interface to be used for establishing the connection. This is not required for
avahi as the avahi daemon is normally configured externally. Make the server
configuration of the mDNS IP list and the interface dependent on the use of
libmdnsd.
Signed-off-by: Vasilij Strassheim <vasilij.strassheim@linutronix.de >
2025-01-01 11:57:50 +01:00
Julius Pfrommer
b867ca3b55
fix(examples): Fix build of custom_datatype.h for MSVC >2019
2024-12-25 13:38:51 +01:00
Julius Pfrommer
c6e4d5e480
fix(examples): Fix building the custom_dataype examples on MSVC with a .dll shared library
2024-12-25 13:38:51 +01:00
Julius Pfrommer
667e2f09db
refactor(examples): Cleanup of /examples/CMakeLists.txt
2024-12-25 13:38:51 +01:00
Julius Pfrommer
63057d83d8
refactor(examples): server_pubsub_file_configuration does not use the internal API
2024-12-25 13:38:51 +01:00
Julius Pfrommer
51ad1d5747
refactor(examples): Always enable the custom datatype examples
2024-12-25 13:38:51 +01:00
Julius Pfrommer
b4e9d81436
refactor(examples): Always build pubsub_subscribe_standalone_dataset
...
It no longer depends on internal APIs
2024-12-25 13:38:51 +01:00
Julius Pfrommer
bce1e4619c
refactor(examples): Align PubSub-RT example and source file name
2024-12-25 13:38:51 +01:00
Julius Pfrommer
ccb0656677
refactor(examples): Use the custom state machine logic in server_pubsub_subscriber_rt.c
2024-12-25 13:38:51 +01:00
Julius Pfrommer
b2b6f520df
refactor(examples): Clean up PubSub RT examples
2024-12-25 13:38:51 +01:00
Julius Pfrommer
c02a421a44
refactor(docs): Remove +x permission from opc-ua-tsn-wrs.pdf
2024-12-25 13:38:51 +01:00
Julius Pfrommer
994038146c
refactor(examples): Use the Custom State Machine in examples/pubsub_realtime/server_pubsub_publisher_rt_level.c
2024-12-25 13:38:51 +01:00
Thomas Nittel
edf5e8cf8c
fix(examples): client_subscription_loop.c: Async functions used in callbacks ( #6986 )
...
* Example client_subscription_loop.c: Async functions used in callbacks
Async functions have to be used in callbacks else the error message "Cannot run EventLoop from the run method itself" occurs under Windows 10 with Microsoft Visual Studio 17 2022.
* Example client_subscription_loop.c: Async functions used in callbacks
Compile error "Unused variable" removed
2024-12-23 06:45:37 +01:00
Julius Pfrommer
597a9c641a
refactor(examples): Remove outdated eventfilter query examples
2024-12-10 08:28:30 +01:00
Julius Pfrommer
52b18e6f8d
refactor(examples): Move server_file_based_config.c -> server_json_config.c
2024-12-10 08:28:30 +01:00
Julius Pfrommer
980f96a9d3
refactor(examples): Move the client_access_control_encrypt.c example to the correct folder
2024-12-10 08:28:30 +01:00
Julius Pfrommer
c8146660a4
refactor(examples): Use the AcceptAll certificate verification for the examples
...
Don't require the examples to have the remote certificate in a
trustlist. This reduces initial confusion and still logs a warning.
2024-12-10 08:28:30 +01:00
Julius Pfrommer
9ae8b76986
refactor(plugins): Use urn:open62541.unconfigured.application as the default ApplicationUri
...
We want to have the same default for client and server. So we get less
trouble with reusing certificates. Before we had to manually adjust the
client URI to say "server". That's not good...
2024-12-10 08:28:30 +01:00
Julius Pfrommer
f9109ddfa6
refactor(pubsub): Remove the last remnants of UA_ENABLE_PUBSUB_ENCRYPTION
2024-11-29 21:51:07 +01:00
Julius Pfrommer
3785ed5c4d
Merge remote-tracking branch 'origin/1.4' into merge_14_master_24
2024-11-29 21:50:04 +01:00
Noel Graf
e0c31d83cb
feat(plugins): Support certificate generation with mbedTLS. ( #6145 )
...
(cherry picked from commit 1f19a8e484 )
2024-11-21 23:20:40 +01:00
Julius Pfrommer
bfaec719ad
Merge remote-tracking branch 'origin/1.4' into merge_14_master_24
2024-11-15 21:15:00 +01:00
Eugene Melekhov
d4c5aaa2a7
fix(pubsub): Fix MQTT subscribe ReaderGroup config copying ( #6808 ) ( #6850 )
2024-11-13 18:34:36 +01:00
Eugene Melekhov
8ab3b49f3f
fix(pubsub): fix setting writer group messsage & transport settings ( #6814 )
2024-11-09 11:31:06 +01:00
Julius Pfrommer
2b445aecf6
Merge remote-tracking branch 'origin/1.4' into merge_14_master_23
2024-11-05 17:19:45 +01:00