It is up to EoN_Node to decide:
Which (if any) of my SparkplugValues does this metric belong to?
Is this metric writeable?
What to do with the seq?
what to do with the timestamps?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
--- old+++ new@@ -5,6 +5,5 @@
With basic metrics is ment: basetype variables, no "advanced" metrics or historical things
Whatever happens, the TimeStamp is mandatory and implemented.
-As TimeStamp we take the current time as read from the controller. If the controller does not contain an RTC, that is just "schade" and we will not fix that, as it is a hardware issue.+As TimeStamp we take the current time as read from the controller. If an interested user has a controller which does not contain an RTC, we will work with that user to come up with an alternative. For now though, it is not supported.-
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
So I think simple decode will need:
.Decode()
.GetTimestamp()
.GetSeq()
.GetFirstMetric(name => , datatype => , timestamp => , valueString => , valueLreal => , valueReal=> , valueVarInt => , HasNext => )
.GetNextMetric(name => , datatype => , timestamp => , valueString => , valueLreal => , valueReal=> , valueVarInt => , HasNext => )
It is up to EoN_Node to decide:
Which (if any) of my SparkplugValues does this metric belong to?
Is this metric writeable?
What to do with the seq?
what to do with the timestamps?
Diff:
NDEATH is an exception which does not require a Payload.seq
So the Initialize must include HasSeq : BOOL;