-
Notifications
You must be signed in to change notification settings - Fork 48
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
At birth or ndata the published propertyset type of a SparkplugNet.VersionB.SparkplugNode cannot be parsed by MQTT.fx (Sparkplug Decoder) or Node-RED Sparkplug node . Tried 1.3.4 and 1.3.3 using both SparkplugMqttProtocolVersions and SparkplugSpecificationVersions. The objects appear okay up to the serialization and then I cannot tell if it is serialized correctly.
Code to build Metric object:
var ps = new PropertySet();
ps.Keys.Add("A");
var aValue = new PropertyValue(DataType.String, "testValue");
ps.Values.Add(aValue);
var m1 = new Metric("TestPropertySet", DataType.PropertySet, ps);
Node-RED: "Unable to decode Unknown message. the error is : TypeError: Cannot read properties of undefined (reading 'keys')"
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working