1 |
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)e20bf2f5-aaef-42bc-9d02-1aa0d94318ac","ParentGuid":"(Guid)5b021564-ecc4-4ac9-8ad1-ee45df139b22","Name":"(string)Scenario","Properties":{"@Type":"2c41fa04:IDictionary","@Value":{}},"TypeGuid":"(Guid)8ac092e5-3128-4e26-9e7e-11016c6684f2","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","Guid":"System.Guid","string":"System.String"}},"object":{"Graph":{"@Type":"8ac092e5","@Value":{"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextLines":{"@Type":"[a5de0b0b]","@Value":[{"@Type":"a5de0b0b","@Value":{"Id":"(long)592","Tag":null,"Text":"(string)CASE TestScenario OF"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)472","Tag":null,"Text":"(string) 1: // Private Ignition "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)636","Tag":null,"Text":"(string) CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)473","Tag":null,"Text":"(string) ServerUrl := '192.168.56.101';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)474","Tag":null,"Text":"(string) ServerPort := 1883;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)475","Tag":null,"Text":"(string) KeepAlive := 60; // In seconds "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)476","Tag":null,"Text":"(string) Username := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)477","Tag":null,"Text":"(string) Password := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)478","Tag":null,"Text":"(string) UseTLS := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)479","Tag":null,"Text":"(string) StillGettingClientCertificate := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)480","Tag":null,"Text":"(string) 2: // Private Mosquitto"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)635","Tag":null,"Text":"(string) CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)481","Tag":null,"Text":"(string) ServerUrl := '192.168.168.2';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)482","Tag":null,"Text":"(string) ServerPort := 1883;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)483","Tag":null,"Text":"(string) KeepAlive := 60; // In seconds "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)484","Tag":null,"Text":"(string) Username := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)485","Tag":null,"Text":"(string) Password := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)486","Tag":null,"Text":"(string) UseTLS := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)487","Tag":null,"Text":"(string) StillGettingClientCertificate := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)488","Tag":null,"Text":"(string) 3: // Public 'broker.hivemq.com';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)634","Tag":null,"Text":"(string) CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)633","Tag":null,"Text":"(string) ServerUrl := 'broker.hivemq.com';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)490","Tag":null,"Text":"(string) ServerPort := 1883;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)491","Tag":null,"Text":"(string) KeepAlive := 60; // In seconds "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)492","Tag":null,"Text":"(string) Username := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)493","Tag":null,"Text":"(string) Password := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)494","Tag":null,"Text":"(string) UseTLS := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)495","Tag":null,"Text":"(string) StillGettingClientCertificate := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)496","Tag":null,"Text":"(string) 4: // Public 'test.mosquitto.org';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)631","Tag":null,"Text":"(string) CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP; "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)497","Tag":null,"Text":"(string) ServerUrl := 'test.mosquitto.org';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)498","Tag":null,"Text":"(string) ServerPort := 1883;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)499","Tag":null,"Text":"(string) KeepAlive := 60; // In seconds "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)500","Tag":null,"Text":"(string) Username := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)501","Tag":null,"Text":"(string) Password := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)502","Tag":null,"Text":"(string) UseTLS := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)503","Tag":null,"Text":"(string) StillGettingClientCertificate := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)504","Tag":null,"Text":"(string) 5: // Public TLS without client certificate 'test.mosquitto.org';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)505","Tag":null,"Text":"(string) // Please go to Device > PLC Shell and type the command cert-gendhparams"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)629","Tag":null,"Text":"(string) CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP; "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)506","Tag":null,"Text":"(string) ServerUrl := 'test.mosquitto.org';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)507","Tag":null,"Text":"(string) ServerPort := 8883;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)508","Tag":null,"Text":"(string) KeepAlive := 60; // In seconds "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)509","Tag":null,"Text":"(string) Username := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)510","Tag":null,"Text":"(string) Password := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)511","Tag":null,"Text":"(string) UseTLS := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)591","Tag":null,"Text":"(string) getClientCert.sCommonName := 'EdgeOfNetworkNode1';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)512","Tag":null,"Text":"(string) hCert := SysTypes.RTS_INVALID_HANDLE; //no client cert"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)513","Tag":null,"Text":"(string) StillGettingClientCertificate := FALSE; //no client cert"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)514","Tag":null,"Text":"(string) 6: //Public TLS with client certificate 'test.mosquitto.org';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)627","Tag":null,"Text":"(string) CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP; "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)515","Tag":null,"Text":"(string) ServerUrl := 'test.mosquitto.org';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)516","Tag":null,"Text":"(string) ServerPort := 8884;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)517","Tag":null,"Text":"(string) KeepAlive := 60; // In seconds"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)518","Tag":null,"Text":"(string) Username := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)519","Tag":null,"Text":"(string) Password := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)521","Tag":null,"Text":"(string) getClientCert.sCountry := 'NL';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)522","Tag":null,"Text":"(string) getClientCert.sOrganization := 'Code5';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)523","Tag":null,"Text":"(string) UseTLS := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)524","Tag":null,"Text":"(string) hCert := SysTypes.RTS_INVALID_HANDLE; //no client cert"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)525","Tag":null,"Text":"(string) StillGettingClientCertificate := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)526","Tag":null,"Text":"(string) 7: // Co5e public hosted MQTT server -> empty on puropse! Will not connect"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)625","Tag":null,"Text":"(string) CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP; "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)527","Tag":null,"Text":"(string) ServerUrl := 'mqtt.co5e.org';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)528","Tag":null,"Text":"(string) ServerPort := 8884;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)529","Tag":null,"Text":"(string) KeepAlive := 60;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)530","Tag":null,"Text":"(string) Username := \"\"; // empty on puropse! => Will not connect"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)531","Tag":null,"Text":"(string) Password := \"\"; // empty on puropse! => Will not connect"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)532","Tag":null,"Text":"(string) getClientCert.sCommonName := 'EdgeOfNetworkNode1';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)533","Tag":null,"Text":"(string) getClientCert.sCountry := 'NL';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)534","Tag":null,"Text":"(string) getClientCert.sOrganization := 'Code5';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)535","Tag":null,"Text":"(string) UseTLS := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)536","Tag":null,"Text":"(string) hCert := SysTypes.RTS_INVALID_HANDLE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)537","Tag":null,"Text":"(string) StillGettingClientCertificate := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)538","Tag":null,"Text":"(string) // TLSContextProvider Settings"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)539","Tag":null,"Text":"(string) sUseCaseName := 'u1';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)540","Tag":null,"Text":"(string) ePurpose := SPStack.MQTT.NBS.Purpose.Client_Side;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)541","Tag":null,"Text":"(string) sHostname := 'mqtt.co5e.org';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)542","Tag":null,"Text":"(string) udiVerificationMode := 2;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)543","Tag":null,"Text":"(string) // Copy settings to FB"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)544","Tag":null,"Text":"(string) myTLS.sUseCaseName := sUseCaseName;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)545","Tag":null,"Text":"(string) myTLS.ePurpose := ePurpose;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)546","Tag":null,"Text":"(string) myTLS.sHostname := sHostname;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)547","Tag":null,"Text":"(string) myTLS.udiVerificationMode := udiVerificationMode;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)548","Tag":null,"Text":"(string) // Connect the interface"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)549","Tag":null,"Text":"(string) ItfTLSContext := myTLS;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)550","Tag":null,"Text":"(string) 8: // Co5e public hosted MQTT server "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)623","Tag":null,"Text":"(string) CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP; "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)551","Tag":null,"Text":"(string) ServerUrl := 'mqtt.co5e.org';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)552","Tag":null,"Text":"(string) ServerPort := 8883;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)553","Tag":null,"Text":"(string) KeepAlive := 60;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)554","Tag":null,"Text":"(string) Username := \"co5e\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)555","Tag":null,"Text":"(string) Password := \"co5e\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)556","Tag":null,"Text":"(string) UseTLS := TRUE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)557","Tag":null,"Text":"(string) hCert := SysTypes.RTS_INVALID_HANDLE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)558","Tag":null,"Text":"(string) StillGettingClientCertificate := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)559","Tag":null,"Text":"(string) getClientCert.sCommonName := 'EdgeOfNetworkNode1';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)560","Tag":null,"Text":"(string) getClientCert.sCountry := 'NL';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)561","Tag":null,"Text":"(string) getClientCert.sOrganization := 'co5e';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)562","Tag":null,"Text":"(string)//// TLSContextProvider Settings"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)563","Tag":null,"Text":"(string)//sUseCaseName := 'u1';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)564","Tag":null,"Text":"(string)//ePurpose := Sparkplug.MQTT.NBS.Purpose.Client_Side;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)565","Tag":null,"Text":"(string)//sHostname := 'mqtt.co5e.org';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)566","Tag":null,"Text":"(string)//udiVerificationMode := 2; "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)567","Tag":null,"Text":"(string)//"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)568","Tag":null,"Text":"(string)//// Copy settings to FB"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)569","Tag":null,"Text":"(string)//myTLS.sUseCaseName := sUseCaseName; "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)570","Tag":null,"Text":"(string)//myTLS.ePurpose := ePurpose;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)571","Tag":null,"Text":"(string)//myTLS.sHostname := sHostname; "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)572","Tag":null,"Text":"(string)//myTLS.udiVerificationMode := udiVerificationMode;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)573","Tag":null,"Text":"(string)//"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)574","Tag":null,"Text":"(string)//// Connect the interface"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)575","Tag":null,"Text":"(string)//ItfTLSContext := myTLS; "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)594","Tag":null,"Text":"(string)"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)595","Tag":null,"Text":"(string) 9: // websocket scenario for test.mosquitto.org, NO TLS"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)597","Tag":null,"Text":"(string) CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.WEB_SOCKET;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)621","Tag":null,"Text":"(string) ServerUrl := 'ws://test.mosquitto.org:8080';"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)599","Tag":null,"Text":"(string) ServerPort := 0;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)600","Tag":null,"Text":"(string) KeepAlive := 60;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)601","Tag":null,"Text":"(string) Username := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)602","Tag":null,"Text":"(string) Password := \"\";"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)603","Tag":null,"Text":"(string) UseTLS := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)604","Tag":null,"Text":"(string) hCert := SysTypes.RTS_INVALID_HANDLE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)598","Tag":null,"Text":"(string) StillGettingClientCertificate := FALSE;"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)612","Tag":null,"Text":"(string) "}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)576","Tag":null,"Text":"(string)ELSE"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)577","Tag":null,"Text":"(string) ; //DOES NOTHING IF WRONG SCNEARIO NUMBER"}},{"@Type":"a5de0b0b","@Value":{"Id":"(long)578","Tag":null,"Text":"(string)END_CASE"}}]}}}}},"UniqueIdGenerator":"(string)636"}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","8ac092e5":"{8ac092e5-3128-4e26-9e7e-11016c6684f2}","a5de0b0b":"{a5de0b0b-1cb5-4913-ac21-9d70293ec00d}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","long":"System.Int64","string":"System.String"}}},"FormatVersion":"1.0"} |
1 |
{"payload":{"meta":{"Graph":{"@Type":"81297157","@Value":{"Guid":"(Guid)e20bf2f5-aaef-42bc-9d02-1aa0d94318ac","ParentGuid":"(Guid)5b021564-ecc4-4ac9-8ad1-ee45df139b22","Name":"(string)Scenario","Properties":{"@Type":"2c41fa04:IDictionary","@Value":{}},"TypeGuid":"(Guid)8ac092e5-3128-4e26-9e7e-11016c6684f2","EmbeddedTypeGuids":{"@Type":"[Guid]","@Value":["(Guid)3b83b776-fb25-43b8-99f2-3c507c9143fc"]}}},"TypeInfos":{"2c41fa04":"{2c41fa04-1834-41c1-816e-303c7aa2c05b}","81297157":"{81297157-7ec9-45ce-845e-84cab2b88ade}","Guid":"System.Guid","string":"System.String"}},"object":{"Graph":{"@Type":"8ac092e5","@Value":{"Implementation":{"@Type":"3b83b776","@Value":{"TextDocument":{"@Type":"f3878285","@Value":{"TextBlobForSerialisation":"(string)CASE TestScenario OF\n 1: // Private Ignition \n CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP;\n ServerUrl := '192.168.56.101';\n ServerPort := 1883;\n KeepAlive := 60; // In seconds \n Username := \"\";\n Password := \"\";\n UseTLS := FALSE;\n StillGettingClientCertificate := FALSE;\n 2: // Private Mosquitto\n CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP;\n ServerUrl := '192.168.168.2';\n ServerPort := 1883;\n KeepAlive := 60; // In seconds \n Username := \"\";\n Password := \"\";\n UseTLS := FALSE;\n StillGettingClientCertificate := FALSE;\n 3: // Public 'broker.hivemq.com';\n CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP;\n ServerUrl := 'broker.hivemq.com';\n ServerPort := 1883;\n KeepAlive := 60; // In seconds \n Username := \"\";\n Password := \"\";\n UseTLS := FALSE;\n StillGettingClientCertificate := FALSE;\n 4: // Public 'test.mosquitto.org';\n CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP; \n ServerUrl := 'test.mosquitto.org';\n ServerPort := 1883;\n KeepAlive := 60; // In seconds \n Username := \"\";\n Password := \"\";\n UseTLS := FALSE;\n StillGettingClientCertificate := FALSE;\n 5: // Public TLS without client certificate 'test.mosquitto.org';\n // Please go to Device > PLC Shell and type the command cert-gendhparams\n CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP; \n ServerUrl := 'test.mosquitto.org';\n ServerPort := 8883;\n KeepAlive := 60; // In seconds \n Username := \"\";\n Password := \"\";\n UseTLS := TRUE;\n getClientCert.sCommonName := 'EdgeOfNetworkNode1';\n hCert := SysTypes.RTS_INVALID_HANDLE; //no client cert\n StillGettingClientCertificate := FALSE; //no client cert\n 6: //Public TLS with client certificate 'test.mosquitto.org';\n CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP; \n ServerUrl := 'test.mosquitto.org';\n ServerPort := 8884;\n KeepAlive := 60; // In seconds\n Username := \"\";\n Password := \"\";\n getClientCert.sCountry := 'NL';\n getClientCert.sOrganization := 'Code5';\n UseTLS := TRUE;\n hCert := SysTypes.RTS_INVALID_HANDLE; //no client cert\n StillGettingClientCertificate := TRUE;\n 7: // Co5e public hosted MQTT server -> empty on puropse! Will not connect\n CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP; \n ServerUrl := 'mqtt.co5e.org';\n ServerPort := 8884;\n KeepAlive := 60;\n Username := \"\"; // empty on puropse! => Will not connect\n Password := \"\"; // empty on puropse! => Will not connect\n getClientCert.sCommonName := 'EdgeOfNetworkNode1';\n getClientCert.sCountry := 'NL';\n getClientCert.sOrganization := 'Code5';\n UseTLS := TRUE;\n hCert := SysTypes.RTS_INVALID_HANDLE;\n StillGettingClientCertificate := FALSE;\n // TLSContextProvider Settings\n sUseCaseName := 'u1';\n ePurpose := SPStack.MQTT.NBS.Purpose.Client_Side;\n sHostname := 'mqtt.co5e.org';\n udiVerificationMode := 2;\n // Copy settings to FB\n myTLS.sUseCaseName := sUseCaseName;\n myTLS.ePurpose := ePurpose;\n myTLS.sHostname := sHostname;\n myTLS.udiVerificationMode := udiVerificationMode;\n // Connect the interface\n ItfTLSContext := myTLS;\n 8: // Co5e public hosted MQTT server \n CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.TCP; \n ServerUrl := 'mqtt.co5e.org';\n ServerPort := 8883;\n KeepAlive := 60;\n Username := \"co5e\";\n Password := \"co5e\";\n UseTLS := TRUE;\n hCert := SysTypes.RTS_INVALID_HANDLE;\n StillGettingClientCertificate := FALSE;\n getClientCert.sCommonName := 'EdgeOfNetworkNode1';\n getClientCert.sCountry := 'NL';\n getClientCert.sOrganization := 'co5e';\n//// TLSContextProvider Settings\n//sUseCaseName := 'u1';\n//ePurpose := Sparkplug.MQTT.NBS.Purpose.Client_Side;\n//sHostname := 'mqtt.co5e.org';\n//udiVerificationMode := 2; \n//\n//// Copy settings to FB\n//myTLS.sUseCaseName := sUseCaseName; \n//myTLS.ePurpose := ePurpose;\n//myTLS.sHostname := sHostname; \n//myTLS.udiVerificationMode := udiVerificationMode;\n//\n//// Connect the interface\n//ItfTLSContext := myTLS; \n\n 9: // websocket scenario for test.mosquitto.org, NO TLS\n CommunicationMode := SPStack.MQTT.COMMUNICATION_MODE.WEB_SOCKET;\n ServerUrl := 'ws://test.mosquitto.org:8080';\n ServerPort := 0;\n KeepAlive := 60;\n Username := \"\";\n Password := \"\";\n UseTLS := FALSE;\n hCert := SysTypes.RTS_INVALID_HANDLE;\n StillGettingClientCertificate := FALSE;\n \nELSE\n ; //DOES NOTHING IF WRONG SCNEARIO NUMBER\nEND_CASE","LineInfoPersistence":"(string)e20bf2f5-aaef-42bc-9d02-1aa0d94318ac_Impl_LineIds"}}}},"UniqueIdGenerator":"(string)636"}},"TypeInfos":{"3b83b776":"{3b83b776-fb25-43b8-99f2-3c507c9143fc}","8ac092e5":"{8ac092e5-3128-4e26-9e7e-11016c6684f2}","f3878285":"{f3878285-8e4f-490b-bb1b-9acbb7eb04db}","string":"System.String"}}},"FormatVersion":"1.0"} |