Connectivity Software User's Guide and Reference
SparkplugVersions Enumeration



OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace : SparkplugVersions Enumeration
The versions of the Sparkplug specification, and payload encoding schemes and their versions.
Syntax
'Declaration
 
<DisplayName2Attribute("Sparkplug Versions")>
<FlagsAttribute()>
Public Enum SparkplugVersions 
   Inherits System.Enum
   Implements System.IComparable, System.IConvertible, System.IFormattable 
'Usage
 
Dim instance As SparkplugVersions
[DisplayName2("Sparkplug Versions")]
[Flags()]
public enum SparkplugVersions : System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
[DisplayName2("Sparkplug Versions")]
[Flags()]
public enum class SparkplugVersions : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable  
Members
MemberValueDescription
None0No Sparkplug version or encoding scheme specified.

The value of this enum member is 0.

PayloadA16777216Payload encoding scheme A (referred to as "Sparkplug A").

The value of this enum member is 16777216.

PayloadB33554432Payload encoding scheme B (referred to as "Sparkplug B").

The value of this enum member is 33554432.

Specification222Sparkplug specification version 2.2.

The value of this enum member is 2.

Specification304Sparkplug specification version 3.0.

The value of this enum member is 4.

Remarks

 

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.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         OpcLabs.EasySparkplug.SparkplugVersions

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also