You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: specification/src/main/asciidoc/chapters/Sparkplug_6_Payloads.adoc
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -300,7 +300,7 @@ message Payload {
300
300
optional string name = 1; // Metric name - Required in BIRTH messages, optional in DATA messages if using aliases
301
301
optional uint64 alias = 2; // Metric alias - tied to name on BIRTH and included in all later DATA messages
302
302
optional uint64 timestamp = 3; // Timestamp associated with data acquisition time - if omitted, the overall payload timestamp is assumed as the data acquisition time
303
-
optional uint32 datatype = 4; // DataType of the metric/tag value
303
+
optional DataType datatype = 4; // DataType of the metric/tag value
304
304
optional string source = 5; // Source for CMD messages if unique to the Metric (typically for forwarded writes in CMD messages)
305
305
optional bool is_historical = 6; // If this is historical data and should not update real time tag
306
306
optional bool is_transient = 7; // Tells consuming clients such as MQTT Engine to not store this as a tag
0 commit comments