

'Declaration<ExceptionContractAnnotationAttribute(True)> <CLSCompliantAttribute(True)> Public Interface ISparkplugDevice Inherits OpcLabs.BaseLib.ComponentModel.IReadOnlyStartable, OpcLabs.BaseLib.ComponentModel.IStartableEvents, IEasySparkplugNotificationEvents, ISparkplugMetricEvents, ISparkplugProducer, ISparkplugProducerEvents, ISparkplugSystemConnectionMonitoring, System.IDisposable, System.IServiceProvider
'UsageDim instance As ISparkplugDevice
[ExceptionContractAnnotation(true)] [CLSCompliant(true)] public interface ISparkplugDevice : OpcLabs.BaseLib.ComponentModel.IReadOnlyStartable, OpcLabs.BaseLib.ComponentModel.IStartableEvents, IEasySparkplugNotificationEvents, ISparkplugMetricEvents, ISparkplugProducer, ISparkplugProducerEvents, ISparkplugSystemConnectionMonitoring, System.IDisposable, System.IServiceProvider
[ExceptionContractAnnotation(true)] [CLSCompliant(true)] public interface class ISparkplugDevice : public OpcLabs.BaseLib.ComponentModel.IReadOnlyStartable, OpcLabs.BaseLib.ComponentModel.IStartableEvents, IEasySparkplugNotificationEvents, ISparkplugMetricEvents, ISparkplugProducer, ISparkplugProducerEvents, ISparkplugSystemConnectionMonitoring, System.IDisposable, System.IServiceProvider
A Sparkplug device is typically a sensor, actuator, or other endpoint that communicates its data through a Sparkplug edge node. Devices do not connect directly to the MQTT broker; instead, they connect to an edge node, which aggregates and forwards their data using the Sparkplug protocol. The edge node manages the lifecycle, state, and data of its devices, ensuring reliable and structured communication with the broker.
The Sparkplug device ID is stored in the DeviceId property. The collection of Sparkplug metrics that this device publishes is contained in the ISparkplugProducer.Metrics property of the device. You can add or remove your metrics in this collection.
Sparkplug is a trademark of Eclipse Foundation, Inc. "MQTT" is a trademark of the OASIS Open standards consortium. Other related terms are trademarks of their respective owners. Any use of these terms on this site is for descriptive purposes only and does not imply any sponsorship, endorsement or affiliation.