[r889]: / branches / develop / mqttsparkplug / mqttsparkplug-example / Device_1 / Plc Logic / Application2_1 / Edge2 / svnobj  Maximize  Restore  History

Download this file

10 lines (9 with data), 9.5 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
IF Init THEN
    AddAllMetrics();
    Scenario( TestScenario := g_example_settings.TestScenario);
IF NOT Scenario.StillGettingClientCertificate AND TON_DelayStartup.Q THEN
    EoN( ServerUrl := Scenario.ServerUrl,
         ServerPort := Scenario.ServerPort,
         PrimaryHostID := g_example_settings.PrimaryHostID1,
         // Uncomment this for TLS usage and please alter the initialisation of myTLSContext
    //It generates a CSR and sends it to test.mosquitto.org to be signed