Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect DataChangeTrigger in server #1099

Merged
merged 1 commit into from
Oct 28, 2022
Merged

Conversation

JohanAR
Copy link
Contributor

@JohanAR JohanAR commented Oct 27, 2022

Moves DataChange filtering from address_space to monitored_item_service, and uses the configured DataChangeTrigger instead of always detecting changes in status/value.

Solves #1098

@oroulet
Copy link
Member

oroulet commented Oct 27, 2022

looks good and does not seem to break anything. jsut waiting a bit in case someone finds something

@JohanAR
Copy link
Contributor Author

JohanAR commented Oct 27, 2022

I wish I had time to write proper tests for it, but we have a deadline coming up and team lead won't let me spend any more time on it. I have tested setting the DataChangeTrigger to both StatusValue and StatusValueTimestamp, and leaving it unset, using our client and test code. Everything looks like it's working, but I'm far from an OpcUa expert so I'm a little worried about breaking something that I don't know about. I hope your existing tests have good coverage :)

I might be able to return to this and write those tests in a couple of weeks, so it doesn't break in the future, I hope.

@oroulet oroulet merged commit 16bde22 into FreeOpcUa:master Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants