Diff of /project/co⚡e_-_sparkplug™_mqtt_edge_and_host-edge_b9741afd/function_blocks_d9bd2ff1/fb_edge_df8b6e33/fb_edge_af25efb2/nbirth_cc5cb22e/publishnbirthentry_bfb441ac/bfb441ac102f4cd195767a84d0c95b53.object [1af742] .. [8ed4a5]  Maximize  Restore

Switch to side-by-side view

--- a/project/co⚡e_-_sparkplug™_mqtt_edge_and_host-edge_b9741afd/function_blocks_d9bd2ff1/fb_edge_df8b6e33/fb_edge_af25efb2/nbirth_cc5cb22e/publishnbirthentry_bfb441ac/bfb441ac102f4cd195767a84d0c95b53.object
+++ b/project/co⚡e_-_sparkplug™_mqtt_edge_and_host-edge_b9741afd/function_blocks_d9bd2ff1/fb_edge_df8b6e33/fb_edge_af25efb2/nbirth_cc5cb22e/publishnbirthentry_bfb441ac/bfb441ac102f4cd195767a84d0c95b53.object
@@ -1 +1 @@
-{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)bfb441ac-102f-4cd1-9576-7a84d0c95b53","ParentGuid":"(Guid)af25efb2-e7d3-4d17-9b46-1d6d5c77fe77","Name":"(string)PublishNBIRTHEntry","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)24568a24-c491-472c-a21f-ee5d33859fab","@Value":{"@Type":"24568a24","@Value":{"MemoryReserveForOnlineChange":"(int)0","ExcludeFromBuild":"(bool)False","External":"(bool)False","EnableSystemCall":"(bool)False","CompilerDefines":"(string)","LinkAlways":"(bool)False","Undefines":{"@Type":"[string]","@Value":[]}}}},{"@Key":"(Guid)829a18f2-c514-4f6e-9634-1df173429203","@Value":{"@Type":"829a18f2","@Value":{"ParentObjects":{"@Type":"fa2ee218:IDictionary","@Value":[{"@Key":"(Guid)21af5390-2942-461a-bf89-951aaf6999f1","@Value":"(Guid)cc5cb22e-b9d6-4358-9bf9-16f9c770f107"}]}}}}]},"TypeGuid":"(Guid)f8a58466-d7f6-439f-bbb8-d4600e41d099","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"24568a24":"{24568a24-c491-472c-a21f-ee5d33859fab}","2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","829a18f2":"{829a18f2-c514-4f6e-9634-1df173429203}","bool":"System.Boolean","fa2ee218":"{fa2ee218-a39b-4b6d-b249-49dbddbd168a}","Guid":"System.Guid","int":"System.Int32","string":"System.String"}},"object":{"Graph":{"@Type":"f8a58466","@Value":{"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)645","Tag":null,"Text":"(string)PublishNBIRTHEntry := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)646","Tag":null,"Text":"(string)NBIRTHError :="}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)647","Tag":null,"Text":"(string)    _SparkplugB.GetEoNNodeBirthCertificate(LWT_BDSeq := _NDEATH.Uint64, // should contain NDEATH.Value"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)648","Tag":null,"Text":"(string)    NBIRTH := _NBIRTH,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)649","Tag":null,"Text":"(string)    AllMetricsList := _Metrics);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)650","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)651","Tag":null,"Text":"(string)IF NBIRTHError <> SPStack.ERROR.NO_ERROR THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)652","Tag":null,"Text":"(string)    SPStack.WriteDeviceLog(SPStack.gc_SPStack.CMP_EDGE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)653","Tag":null,"Text":"(string)        SPStack.CmpLog.LogClass.LOG_DEBUG,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)654","Tag":null,"Text":"(string)        'EoN Publish NBIRTHSPStack.ERROR: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)655","Tag":null,"Text":"(string)        TO_STRING(NBIRTHError));"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)656","Tag":null,"Text":"(string)END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)657","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)658","Tag":null,"Text":"(string)(*"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)659","Tag":null,"Text":"(string)    The NBIRTH message can also include optional ‘Node Control’ payload components. These are used by a backend"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)660","Tag":null,"Text":"(string)    application to control aspects of the EoN node. The following are examples of Node Control metrics."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)661","Tag":null,"Text":"(string)    •   Metric name: ‘Node Control/Reboot’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)662","Tag":null,"Text":"(string)        o Used by backend application(s) to reboot an EoN node."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)663","Tag":null,"Text":"(string)    •   Metric name: ‘Node Control/Rebirth’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)664","Tag":null,"Text":"(string)        o Used by backend application(s) to request a new NBIRTH and DBIRTH(s) from an EoN node."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)665","Tag":null,"Text":"(string)    •   Metric name: ‘Node Control/Next Server’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)666","Tag":null,"Text":"(string)        o Used by backend application(s) to request an EoN node to walk to the next MQTT Server in its list"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)667","Tag":null,"Text":"(string)        in multi-MQTT Server environments."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)668","Tag":null,"Text":"(string)    •   Metric name: ‘Node Control/Scan rate’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)669","Tag":null,"Text":"(string)        o Used by backed application(s) to modify a poll rate on an EoN node."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)670","Tag":null,"Text":"(string)    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)671","Tag":null,"Text":"(string)    The NBIRTH message can also include optional ‘Properties’ of an EoN node. The following are examples of"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)672","Tag":null,"Text":"(string)    Property metrics."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)673","Tag":null,"Text":"(string)    •   Metric name: ‘Properties/Hardware Make’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)674","Tag":null,"Text":"(string)        o Used to transmit the hardware manufacturer of the EoN node"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)675","Tag":null,"Text":"(string)    •   Metric name: ‘Properties/Hardware Model’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)676","Tag":null,"Text":"(string)        o Used to transmit the hardware model of the EoN node"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)677","Tag":null,"Text":"(string)    •    Metric name: ‘Properties/OS’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)678","Tag":null,"Text":"(string)        o Used to transmit the operating system of the EoN node"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)679","Tag":null,"Text":"(string)    •   Metric name: ‘Properties/OS Version’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)680","Tag":null,"Text":"(string)        o Used to transmit the OS version of the EoN node"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)681","Tag":null,"Text":"(string)*)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)682","Tag":null,"Text":"(string)//Encode the node birth certificate, which should only take 1 scan!"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)683","Tag":null,"Text":"(string)_SparkplugB.Encode(Enable := TRUE);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)684","Tag":null,"Text":"(string)REPEAT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)685","Tag":null,"Text":"(string)    _SparkplugB();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)686","Tag":null,"Text":"(string)    EncodeError := _SparkplugB.EncodeError(eError => Encode_eError);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)687","Tag":null,"Text":"(string)    EncodeDone := _SparkplugB.Encoded();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)688","Tag":null,"Text":"(string)UNTIL EncodeDone OR EncodeError"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)689","Tag":null,"Text":"(string)END_REPEAT;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)690","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)691","Tag":null,"Text":"(string)_SparkplugB.Encode(Enable := FALSE);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)692","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)693","Tag":null,"Text":"(string)IF EncodeError THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)694","Tag":null,"Text":"(string)    SPStack.WriteDeviceLog(SPStack.gc_SPStack.CMP_EDGE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)695","Tag":null,"Text":"(string)        SPStack.CmpLog.LogClass.LOG_ERROR,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)696","Tag":null,"Text":"(string)        'EoN Encoding NBIRTH dataSPStack.ERROR: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)697","Tag":null,"Text":"(string)        TO_STRING(Encode_eError));"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)698","Tag":null,"Text":"(string)END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)699","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)700","Tag":null,"Text":"(string)// Now retrieve the serialised blob"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)701","Tag":null,"Text":"(string)_SparkplugB.GetEncodedBlob(Blob := _Blob,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)702","Tag":null,"Text":"(string)    BlobSize := _BlobSize);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)703","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)704","Tag":null,"Text":"(string)// Enable the publisher"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)705","Tag":null,"Text":"(string)_MQTT.EnablePublisher();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)706","Tag":null,"Text":"(string)// Write a log message"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)707","Tag":null,"Text":"(string)SPStack.WriteDeviceLog(SPStack.gc_SPStack.CMP_EDGE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)708","Tag":null,"Text":"(string)    SPStack.CmpLog.LogClass.LOG_DEBUG,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)709","Tag":null,"Text":"(string)    'EoN Publish NBIRTH data to: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)710","Tag":null,"Text":"(string)    WSTRING_TO_STRING(_TopicProvider.wsNBIRTHpublisherTopic));"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)711","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)106","Tag":null,"Text":"(string)PublishNBIRTHEntry := EncodeDone OR EncodeError;"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)635","Tag":null,"Text":"(string){attribute 'hide'}"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)636","Tag":null,"Text":"(string)METHOD PublishNBIRTHEntry : BOOL"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)637","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)638","Tag":null,"Text":"(string)    EncodeError : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)639","Tag":null,"Text":"(string)    Encode_eError : SPStack.ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)640","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)641","Tag":null,"Text":"(string)VAR_INST"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)642","Tag":null,"Text":"(string)    NBIRTHError : SPStack.ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)643","Tag":null,"Text":"(string)    NBIRTHTopic : WSTRING;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)644","Tag":null,"Text":"(string)    EncodeDone : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)87","Tag":null,"Text":"(string)END_VAR"}}]}}}}}}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","f8a58466":"{f8a58466-d7f6-439f-bbb8-d4600e41d099}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"}
\ No newline at end of file
+{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)bfb441ac-102f-4cd1-9576-7a84d0c95b53","ParentGuid":"(Guid)af25efb2-e7d3-4d17-9b46-1d6d5c77fe77","Name":"(string)PublishNBIRTHEntry","Properties":{"@Type":"2c41fa04:IDictionary","@Value":[{"@Key":"(Guid)24568a24-c491-472c-a21f-ee5d33859fab","@Value":{"@Type":"24568a24","@Value":{"MemoryReserveForOnlineChange":"(int)0","ExcludeFromBuild":"(bool)False","External":"(bool)False","EnableSystemCall":"(bool)False","CompilerDefines":"(string)","LinkAlways":"(bool)False","Undefines":{"@Type":"[string]","@Value":[]}}}},{"@Key":"(Guid)829a18f2-c514-4f6e-9634-1df173429203","@Value":{"@Type":"829a18f2","@Value":{"ParentObjects":{"@Type":"fa2ee218:IDictionary","@Value":[{"@Key":"(Guid)21af5390-2942-461a-bf89-951aaf6999f1","@Value":"(Guid)cc5cb22e-b9d6-4358-9bf9-16f9c770f107"}]}}}}]},"TypeGuid":"(Guid)f8a58466-d7f6-439f-bbb8-d4600e41d099","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)a9ed5b7e-75c5-4651-af16-d2c27e98cb94","(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"24568a24":"{24568a24-c491-472c-a21f-ee5d33859fab}","2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","829a18f2":"{829a18f2-c514-4f6e-9634-1df173429203}","bool":"System.Boolean","fa2ee218":"{fa2ee218-a39b-4b6d-b249-49dbddbd168a}","Guid":"System.Guid","int":"System.Int32","string":"System.String"}},"object":{"Graph":{"@Type":"f8a58466","@Value":{"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)645","Tag":null,"Text":"(string)PublishNBIRTHEntry := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)646","Tag":null,"Text":"(string)NBIRTHError :="}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)647","Tag":null,"Text":"(string)    _SparkplugB.GetEoNNodeBirthCertificate(LWT_BDSeq := _NDEATH.Uint64, // should contain NDEATH.Value"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)648","Tag":null,"Text":"(string)    NBIRTH := _NBIRTH,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)649","Tag":null,"Text":"(string)    AllMetricsList := _Metrics);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)650","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)651","Tag":null,"Text":"(string)IF NBIRTHError <> SPStack.ERROR.NO_ERROR THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)652","Tag":null,"Text":"(string)    SPStack.WriteDeviceLog(SPStack.GC_sparkplug.CMP_EDGE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)653","Tag":null,"Text":"(string)        SPStack.CmpLog.LogClass.LOG_DEBUG,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)654","Tag":null,"Text":"(string)        'EoN Publish NBIRTHSPStack.ERROR: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)655","Tag":null,"Text":"(string)        TO_STRING(NBIRTHError));"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)656","Tag":null,"Text":"(string)END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)657","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)658","Tag":null,"Text":"(string)(*"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)659","Tag":null,"Text":"(string)    The NBIRTH message can also include optional ‘Node Control’ payload components. These are used by a backend"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)660","Tag":null,"Text":"(string)    application to control aspects of the EoN node. The following are examples of Node Control metrics."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)661","Tag":null,"Text":"(string)    •   Metric name: ‘Node Control/Reboot’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)662","Tag":null,"Text":"(string)        o Used by backend application(s) to reboot an EoN node."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)663","Tag":null,"Text":"(string)    •   Metric name: ‘Node Control/Rebirth’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)664","Tag":null,"Text":"(string)        o Used by backend application(s) to request a new NBIRTH and DBIRTH(s) from an EoN node."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)665","Tag":null,"Text":"(string)    •   Metric name: ‘Node Control/Next Server’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)666","Tag":null,"Text":"(string)        o Used by backend application(s) to request an EoN node to walk to the next MQTT Server in its list"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)667","Tag":null,"Text":"(string)        in multi-MQTT Server environments."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)668","Tag":null,"Text":"(string)    •   Metric name: ‘Node Control/Scan rate’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)669","Tag":null,"Text":"(string)        o Used by backed application(s) to modify a poll rate on an EoN node."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)670","Tag":null,"Text":"(string)    "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)671","Tag":null,"Text":"(string)    The NBIRTH message can also include optional ‘Properties’ of an EoN node. The following are examples of"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)672","Tag":null,"Text":"(string)    Property metrics."}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)673","Tag":null,"Text":"(string)    •   Metric name: ‘Properties/Hardware Make’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)674","Tag":null,"Text":"(string)        o Used to transmit the hardware manufacturer of the EoN node"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)675","Tag":null,"Text":"(string)    •   Metric name: ‘Properties/Hardware Model’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)676","Tag":null,"Text":"(string)        o Used to transmit the hardware model of the EoN node"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)677","Tag":null,"Text":"(string)    •    Metric name: ‘Properties/OS’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)678","Tag":null,"Text":"(string)        o Used to transmit the operating system of the EoN node"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)679","Tag":null,"Text":"(string)    •   Metric name: ‘Properties/OS Version’"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)680","Tag":null,"Text":"(string)        o Used to transmit the OS version of the EoN node"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)681","Tag":null,"Text":"(string)*)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)682","Tag":null,"Text":"(string)//Encode the node birth certificate, which should only take 1 scan!"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)683","Tag":null,"Text":"(string)_SparkplugB.Encode(Enable := TRUE);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)684","Tag":null,"Text":"(string)REPEAT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)685","Tag":null,"Text":"(string)    _SparkplugB();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)686","Tag":null,"Text":"(string)    EncodeError := _SparkplugB.EncodeError(eError => Encode_eError);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)687","Tag":null,"Text":"(string)    EncodeDone := _SparkplugB.Encoded();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)688","Tag":null,"Text":"(string)UNTIL EncodeDone OR EncodeError"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)689","Tag":null,"Text":"(string)END_REPEAT;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)690","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)691","Tag":null,"Text":"(string)_SparkplugB.Encode(Enable := FALSE);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)692","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)693","Tag":null,"Text":"(string)IF EncodeError THEN"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)694","Tag":null,"Text":"(string)    SPStack.WriteDeviceLog(SPStack.GC_sparkplug.CMP_EDGE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)695","Tag":null,"Text":"(string)        SPStack.CmpLog.LogClass.LOG_ERROR,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)696","Tag":null,"Text":"(string)        'EoN Encoding NBIRTH dataSPStack.ERROR: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)697","Tag":null,"Text":"(string)        TO_STRING(Encode_eError));"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)698","Tag":null,"Text":"(string)END_IF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)699","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)700","Tag":null,"Text":"(string)// Now retrieve the serialised blob"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)701","Tag":null,"Text":"(string)_SparkplugB.GetEncodedBlob(Blob := _Blob,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)702","Tag":null,"Text":"(string)    BlobSize := _BlobSize);"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)703","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)704","Tag":null,"Text":"(string)// Enable the publisher"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)705","Tag":null,"Text":"(string)_MQTT.EnablePublisher();"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)706","Tag":null,"Text":"(string)// Write a log message"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)707","Tag":null,"Text":"(string)SPStack.WriteDeviceLog(SPStack.GC_sparkplug.CMP_EDGE,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)708","Tag":null,"Text":"(string)    SPStack.CmpLog.LogClass.LOG_DEBUG,"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)709","Tag":null,"Text":"(string)    'EoN Publish NBIRTH data to: %s',"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)710","Tag":null,"Text":"(string)    WSTRING_TO_STRING(_TopicProvider.wsNBIRTHpublisherTopic));"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)711","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)106","Tag":null,"Text":"(string)PublishNBIRTHEntry := EncodeDone OR EncodeError;"}}]}}}}},"Interface":{"@Type":"a9ed5b7e","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)635","Tag":null,"Text":"(string){attribute 'hide'}"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)636","Tag":null,"Text":"(string)METHOD PublishNBIRTHEntry : BOOL"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)637","Tag":null,"Text":"(string)VAR_OUTPUT"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)638","Tag":null,"Text":"(string)    EncodeError : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)639","Tag":null,"Text":"(string)    Encode_eError : SPStack.ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)640","Tag":null,"Text":"(string)END_VAR"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)641","Tag":null,"Text":"(string)VAR_INST"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)642","Tag":null,"Text":"(string)    NBIRTHError : SPStack.ERROR;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)643","Tag":null,"Text":"(string)    NBIRTHTopic : WSTRING;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)644","Tag":null,"Text":"(string)    EncodeDone : BOOL;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)87","Tag":null,"Text":"(string)END_VAR"}}]}}}}}}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","a9ed5b7e":"{a9ed5b7e-75c5-4651-af16-d2c27e98cb94}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","f8a58466":"{f8a58466-d7f6-439f-bbb8-d4600e41d099}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"}
\ No newline at end of file