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
4d3aedd74b
refactor(server): Unify duplicate UA_MonitoredItem_sample definitions
2024-05-28 22:52:07 +02:00
Julius Pfrommer
dd300f3eff
refactor(tests): Set a custom "fake" clock in the EventLoop for unit tests
2023-10-04 10:56:26 +02:00
Julius Pfrommer
390c092c05
refactor(tests): Include stdlib.h where open62541 no longer does it
2023-07-28 21:42:56 +02:00
Julius Pfrommer
1630f9dc0c
fix(server): Return publishing interval if sampling interval == -1.0
2023-04-28 01:03:42 +02:00
Julius Pfrommer
b33540652d
Merge branch 'negative_sampling_interval'
2023-02-01 11:26:19 +01:00
Julius Pfrommer
c351fe96c8
fix(server): Sample MonitoredItems with interval <0 together with the subscription publish callback
2023-01-31 23:22:02 +01:00
StalderT
05951d5973
fix(server): Allow negative sampling interval
...
According to https://reference.opcfoundation.org/Core/Part4/v104/docs/5.12.1.2 , a negative Sampling interval number indicates that the default sampling interval defined by the publishing interval of the Subscription is requested.
2023-01-31 22:16:50 +01:00
Andreas Eckerstorfer
022ad60723
fix (tests): Check server instance in UNIT tests
...
Failed UNIT tests caused an exception in the server loop, if the
server instance could not be created.
2023-01-31 00:07:18 +01:00
Andreas Eckerstorfer
13af9b8688
refactor(core): Remove trailing spaces in code ( #5221 )
2022-06-24 11:03:25 +02:00
Julius Pfrommer
46a12f16a6
feat(server): Enable DataChange MonitoredItems with zero sampling interval
2021-09-23 20:07:12 +02:00
Julius Pfrommer
4843f912b0
refactor(server): Simplify datachange monitoreditem sampling
2021-09-23 17:49:21 +02:00
Julius Pfrommer
27d78c346c
refactor(server): Use UA_order to test for data changes in MonitoredItems
2021-09-23 17:49:21 +02:00
Julius Pfrommer
beeafc02e9
refactor(core): Better type-safety for locking primitives
2021-01-05 23:04:23 +01:00
Julius Pfrommer
e95a98a542
refactor(server): Reuse protocol structures in the MonitoredItem config
2020-12-30 13:14:18 +01:00
Julius Pfrommer
041f3121c1
refactor(tests): Replace _deleteMembers with _clear in server tests
2020-09-28 20:06:13 +02:00
Julius Pfrommer
0e02a1fd5f
refactor(server): Simplify prevention of starved late subscriptions
2020-08-24 18:24:52 +02:00
Julius Pfrommer
5520657862
feat(server): Subscriptions can exist without a Session
2020-08-24 18:24:52 +02:00
Julius Pfrommer
d481cfb5b3
feat(test): Test StatusChange notifications
2020-08-01 22:44:37 +02:00
Julius Pfrommer
f8516a587f
refactor(server): Simplify subscription subsystem
2020-08-01 22:44:37 +02:00
Julius Pfrommer
017ee76609
refactor(server): Fold SessionManager into Session Service-Set
2020-01-26 12:39:37 +01:00
Ubuntu
dfdc6ae296
feat(multithreading): Locks and assertions for Session, Subscription and MonitoredItem handling
2019-09-10 07:41:05 +02:00
Ubuntu
6050ffe172
feat(multithreading): Locks for subscription and browsing services
2019-08-27 07:44:34 +02: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
60d392285e
Limit the visibility of these variables to this TU
2019-03-06 15:05:58 +01:00
Julius Pfrommer
5d72fb8462
Allow fractions of milliseconds for timed callback intervalls
2018-11-26 22:10:55 +01:00
StalderT
271c944049
check the result of MonitoredItem_registerSampleCallback and setSubscriptionSettings
2018-10-15 13:10:37 +02:00
Fabian Arndt
ac4392ea2b
Added callback to register MonitoredItems in userland
2018-08-02 16:32:38 +00:00
Julius Pfrommer
aa4f73bb22
Tests: Create a custom session for subscriptions testing
2018-08-02 16:32:38 +00:00
Julius Pfrommer
c5c5aaa7d7
Make AdminSession part of the server struct (was global var)
2018-08-02 16:32:38 +00:00
Ari
9c9615b68c
Event unit tests
2018-06-01 20:25:12 +02:00
Julius Pfrommer
1f4d708b69
Align naming of MonitoredItem functions to the usual style
2018-05-22 11:52:08 +02:00
Julius Pfrommer
721843e9fe
simplify notifications handling
2018-03-16 12:53:23 +01:00
StalderT
c4eae725c9
rename MonitoredItem_queuedValue to UA_Notification and itemId to monitoredItemId
2018-03-16 12:53:23 +01:00
Julius Pfrommer
b6d6685bc6
Add a monitoreditem to the subscription lifetimecount test
2018-03-01 07:28:04 +01:00
Ari
e8fb312512
Feature/event preparation ( #1560 )
...
Prepare some internal structures for implementation of events
Includes the commits:
* event preparation
* whitespace_fix
* unit test fix
* moved functions from ua_subscription.c back to ua_subscription_datachange.c
* moved functions from ua_subscription.c back to ua_subscription_datachange.c
* Revert "Merge remote-tracking branch 'origin/feature/event_preparation' into feature/event_preparation"
This reverts commit 8689d1f791 , reversing
changes made to 671d23e899 .
* fixed missing #ifdef
* fixed missing #ifdef
2018-02-19 15:27:15 +01:00
StalderT
5c3630eab2
fix LifetimeCount and call UA_Subscription_publishCallback if a publi… ( #1556 )
...
* fix LifetimeCount and call UA_Subscription_publishCallback if a publishResponse is present
2018-02-06 19:09:25 +01:00
Ari
a1afdcc077
fixed spelling error "MoniteredItem" with "MonitoredItem" ( #1553 )
2018-01-27 10:36:27 +01:00
StalderT
3c099f6d57
add shrinkMonitoredItemQueue and a test ( #1517 )
...
* add shrinkMonitoredItemQueue and test
* correct tailq order of notifications
2018-01-25 20:51:02 +01:00
Julius Pfrommer
6278950c4b
simplify client securechannel test ( #1385 )
...
* simplify client securechannel test
* rename sleeping on simulated testing clock to UA_fakeSleep
* let the server start before calling with the client
2017-11-21 12:52:23 +01:00
Mark
1b6c0554cb
Move tests into subdirectories for better organization
2017-11-08 10:29:23 +01:00