It would seem that the server would need to maintain a list of monitored items to periodically check if they've changed so it can send appropriate responses to the client(s).
Is any of this already in open62541? What parts are missing?
Also, I noticed when I open the test client from the OPC Foundation (OPC UA Technology Sample Quickstart Alarm and Conditions Client) software, it seems to be doing some kind of "method" call for nodeId (0,2782) [ConditionType] and methodId (0,3875) [ConditionType_ConditionRefresh] and immediately fails. Is that also part of what is missing on open62541? I saw that the definition for 2782 (UA_NS0ID_CONDITIONTYPE) exists in src_generated/ua_nodeids.h, but there is nothing for 3875.
From reading through posts in this group, it appears some of the necessary components to implement subscriptions and/or monitored items are still not available in open62541?
Is there a document somewhere that explains what components are not present yet in open62541? And possible if they're being worked on (or if I should work on them myself)?
The second part of that question is does anyone know how to implement an "alarm"?
- How do I create an alarm in my server?
- Is it a special variable that I then create a subscription for?
- Or is a subscription actually a collection of "monitored items"?
- Can any object / variable become a "monitored item" or do they need special support routines (i.e. to detect when the value has changed)?
It would seem that the server would need to maintain a list of monitored items to periodically check if they've changed so it can send appropriate responses to the client(s).
Also, I noticed when I open the test client from the OPC Foundation (OPC UA Technology Sample Quickstart Alarm and Conditions Client) software, it seems to be doing some kind of "method" call for nodeId (0,2782) [ConditionType] and methodId (0,3875) [ConditionType_ConditionRefresh] and immediately fails. Is that also part of what is missing on open62541? I saw that the definition for 2782 (UA_NS0ID_CONDITIONTYPE) exists in src_generated/ua_nodeids.h, but there is nothing for 3875.