Commit Graph

349 Commits

Author SHA1 Message Date
Julius Pfrommer 6e204f4163 feat(pubsub): Implement UA_Server_getPubSubComponentChildren 2025-04-07 21:41:33 +02:00
Julius Pfrommer 5ff0ef23f2 feat(pubsub): Implement UA_Server_getPubSubComponentParent 2025-04-07 20:57:11 +02:00
Julius Pfrommer 9183d2384a feat(pubsub): Implement UA_Server_getPubSubComponentType 2025-04-07 20:37:54 +02:00
Julius Pfrommer 19eabfd839 feat(tests): Add testing of UA_Server_updatePubSubConnectionConfig 2025-02-23 08:36:58 +01:00
Julius Pfrommer afb48d1745 feat(pubsub): Add componentLifecycleCallback to the PubSub config 2025-02-23 08:36:58 +01:00
Julius Pfrommer 99d4d46804 Merge remote-tracking branch 'origin/1.4' into merge_14_master_25 2025-01-28 06:55:14 +01:00
Julius Pfrommer 1321281968 refactor(tests): Lock the EventLoop before client/server in the tests 2025-01-26 23:29:22 +01:00
Julius Pfrommer 43d1a05009 fix(pubsub): Fix locking issues in the PubSub tests 2025-01-20 17:58:24 +01:00
Julius Pfrommer 4adf6a8b8b refactor(pubsub): Remove unneeded freeze flags 2025-01-19 22:33:50 +01:00
Julius Pfrommer 061d76bfbc refactor(tests): Remove pubsub "attic" of outdated tests 2025-01-19 22:33:50 +01:00
Julius Pfrommer 2eef339f5a refactor(tests): Cosmetic cleanups in check_pubsub_publisherid.c 2025-01-19 22:33:50 +01:00
Julius Pfrommer de4d4876d6 refactor(tests): Remove redundant fastpath tests in check_pubsub_publisherid.c 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 956f170d77 refactor(pubsub): Remove old PubSub realtime implementation 2025-01-19 22:33:50 +01:00
Julius Pfrommer cba40d669f feat(pubsub): Offset table generation for PubSub messages 2025-01-15 17:03:14 +01:00
Julius Pfrommer 12a3e5c915 refactor(pubsub): Adjust PubSub JSON unit test to the v1.05 format 2025-01-02 23:41:14 +01:00
Julius Pfrommer 422d18a397 feat(pubsub): It is allowed to have a single JSON object for the Messages field 2025-01-02 23:41:14 +01:00
Julius Pfrommer 5cba8cb3cb feat(tests): Add unit test for the PubSub custom state machine 2024-12-25 13:38:51 +01:00
Julius Pfrommer 8c0f6487de refactor(pubsub): Multiple DataSetMessages are possible also with the PayloadHeader disabled 2024-12-22 00:17:19 +01:00
Julius Pfrommer b7fa6bae2b refactor(core): Use NamespaceMapping for the JSON encoding 2024-12-08 23:37:12 +01:00
Julius Pfrommer 28554978c1 feat(core): Extend the binary encoding to take encoding options 2024-12-07 23:03:22 +01:00
Jan Murzyn 642cf4b59d feat(pubsub): Make DataSetFieldId and field Description configurable.
In some use cases it's necessary to configure them. There is no reason
why they should not be part of the configuration.
2024-12-03 23:49:36 +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
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 ee3192d23c refactor(tests): Pacify a clang warning in check_pubsub_connection_ethernet.c 2024-11-09 01:58:14 +01:00
Julius Pfrommer d625185eba refactor(arch): Rename the eventloop_ folders to just the architecture 2024-10-26 17:42:12 +02:00
Julius Pfrommer fb6ed1798b refactor(pubsub): Rename ua_pubsub.h into ua_pubsub_internal.h
This way all subsystems (client/server/pubsub) follow the same
nomenclature.
2024-10-11 23:08:03 +02:00
Julius Pfrommer ff24a547d4 Merge remote-tracking branch 'origin/1.4' into merge_14_master_22 2024-10-07 22:23:25 +02:00
Julius Pfrommer 43e2b04a26 Merge remote-tracking branch 'origin/1.4' into merge_14_master_22 2024-10-03 10:33:56 +02:00
Julius Pfrommer e063ab1cf6 fix(tests): Correct certificate validation chain for the SKS unit tests 2024-10-02 13:56:09 +02:00
Julius Pfrommer 9d615c2ce2 fix(tests): Fix check_pubsub_informationmodel_methods.c on MSVC
The IP address for the test was not recognized as valid for multicast.
2024-09-30 00:29:52 +02:00
Julius Pfrommer 929646586b fix(test): Remove unused variable warnings in the PubSub unit tests 2024-09-09 23:20:32 +02:00
Julius Pfrommer 450f8ac8d6 refactor(pubsub): Remove the unused "enabled" parameters in the config 2024-09-09 23:20:32 +02:00
Julius Pfrommer 17862226d5 refactor(pubsub): The PubSubConnection no longer enables automatically 2024-09-09 23:20:32 +02:00
Julius Pfrommer df3eecb719 refactor(pubsub): Do not automatically set a new DataSetWriter operational 2024-09-09 23:20:32 +02:00
Julius Pfrommer 830b5f2ca8 refactor(pubsub): Remove the frozen flag from the DataSetField structure 2024-09-09 23:20:32 +02:00
Julius Pfrommer 29efe41d39 refactor(pubsub): Remove the freeze-flag from the DataSetReader 2024-09-09 23:20:32 +02:00
Julius Pfrommer 86e8365b00 refactor(pubsub): Remove the "freeze" flag from the PubSubConnection
The ReaderGroups/WriterGroups instead rely on the PubSub state machine
state.
2024-09-09 23:20:32 +02:00
Julius Pfrommer 4a8ab911e0 refactor(pubsub): Remove the UA_Server_freezeReaderGroup et al.
Handle the freeze logic automatically when the ReaderGroup is enabled.
2024-09-09 23:20:32 +02:00
Julius Pfrommer 8cd91d6a6f refactor(pubsub): Internalize UA_Server_freezeWriterGroup et al.
Freezing is now done automatically when the WriterGroup is enabled.
2024-09-09 23:20:32 +02:00
Julius Pfrommer 07ac6f8771 refactor(pubsub): Move the SecurityGroup and KeyStorage to directly use the PubSubManager 2024-09-09 23:20:32 +02:00
Julius Pfrommer d0749c50c4 refactor(pubsub): Use the PubSubManager directly in Connection, ReaderGroup, WriterGroup 2024-09-09 23:20:32 +02:00
Julius Pfrommer 85ca7f7eaa refactor(pubsub): Directly use the PubSubManager for the DataSetReader 2024-09-09 23:20:32 +02:00
Julius Pfrommer 4870d99580 refactor(pubsub): Directly use the PubSubManager for the DataSetWriter 2024-09-09 23:20:32 +02:00
Julius Pfrommer 553f78df21 refactor(pubsub): Remove direct use of the server pointer from ua_pubsub_config.c 2024-09-09 23:20:32 +02:00
Julius Pfrommer 7bf5e940fc refactor(pubsub): Directly use the PubSubManager for the SubscribedDataSet 2024-09-09 23:20:32 +02:00
Julius Pfrommer 353215095f refactor(pubsub): Remove PubSubManager lookups for the PublishedDataSet 2024-09-09 23:20:32 +02:00