-
Notifications
You must be signed in to change notification settings - Fork 466
(feat): Add a minimum polling interval for CHANGE_ON_EVENT subscription type #2336
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
Conversation
chrisdutz
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally ok ... but in this case I guess we would need matching Duration-counterparts for:
- addChangeOfStateTagAddress (Without consumer)
- addChangeOfStateTag (Without consumer)
- addChangeOfStateTag (With consumer)
addChangeOfStateTagAddress (Without consumer) addChangeOfStateTagAddress (With consumer) addChangeOfStateTag (Without consumer)
|
@chrisdutz added methods with dueration:
|
|
I assume the next step would be to extend the ADS and possibly the OPC-UA driver to support this, right? Are you planning on continuing to work on this? I's prefer to mentor you through this as it's a bit like the "give a man a fish and he's fed for a day, teach him to fish and he's fed for life" sort of thing ;-) |
|
The question now is: If a driver doesn't implement this Duration-based limiting ... should we throw an "unsupported" error, or should we silently forward it to the duration-less version and log a message? |
I believe ADS drive already supports it, I've already checked the behavior and (the last argument) As for OPCUA, I haven't checked it, but based on the code it should work as well |
I'd say drive implements it |
|
Interesting ... wasn't expecting that to work ;-) But yeah ... having a look at the code, it actually makes sense. Cool ... so I guess this is ready to being merged ;-) Thanks :-) |
Improvement for #2335
Added minimum polling interval for CHANGE_ON_EVENT subscription type