
10/31/2022

Hey, I am fairly new to the whole PubSub concept but am currently trying to implement the .Net SDK and make it work.
I have an OPC UA Server, that I have connected to an UA Client and subscribed to some data, but that data is in the form of a MonitoredItem, what I now want to do is to map it to a PublishedDataSet and send it over MQTT. Are there any easy way to this or do I need to create a new PublishedDataSetDataType from the MonitoredItem?
I Just assume this is the way I should be going as in the ‘UA Specification part 14 – PubSub’ it states “A PublishedDataSet is similar to either an Event MonitoredItem or a list of data MonitoredItems in the Client Server Subscription model.”

05/30/2017

A PublishedDataSet is equivalent to a NotificationMessage however the mechanism for defining a PublishedDataSet is quite different.
A complete working example of using NETStandard to send via MQTT is here:
https://github.com/OPCF-Member…..StarterKit
If you are not an OPC Foundation member an older version of the same code is here:
https://github.com/OPCFoundati…..StarterKit
1 Guest(s)