SPARKPLUG.DECODE
Premium
Decodes a Sparkplug B message. For decoding the Payload type of this Protobuf file is used. Visit https://sparkplug.eclipse.org/specification/ to learn more about Sparkplug.
Syntax
=SPARKPLUG.DECODE(Message, [Target])
Arguments
| Name | Type | Description | 
|---|---|---|
| Message | String | The message as buffer to decode. The message is decoded using the "Payload" type of this Protobuf file | 
| Target (optional) | Target | The target where to write the result to | 
Return
| Type | Description | 
|---|---|
| String | The decoded Sparkplug B message | 
Examples
| Formula | Result | Comment | 
|---|---|---|
 | The decoded message | Decode the message in the inbox and write the decoded message to the inbox of "Sheet1" |