Connectivity Software User's Guide and Reference
PublishDevicePayload Method



OpcLabs.EasySparkplug Assembly > OpcLabs.EasySparkplug Namespace > IEasySparkplugConsumerExtension Class : PublishDevicePayload Method
Publishes a payload for a Sparkplug device.

In Sparkplug terms, this method effectively sends the DCMD message to the device.

If there is an error publishing the payload, this method throws OpcLabs.EasySparkplug.OperationModel.SparkplugException.

Overload List
OverloadDescription
Publishes a payload for a device, specifying the device descriptor and the payload object.  
Publishes a payload for a device, specifying the host descriptor, device descriptor and the payload object.  
Publishes a payload for a device, specifying the host descriptor, group ID, edge node ID, device ID and the payload object.  
Publishes a payload for a device, specifying the group ID, edge node ID, device ID and the payload object.  
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.

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