1 2 3 4 5 6 7 8 9 10 11 12 | TYPE ST_ConnectionSettings : STRUCT ServerUrl : STRING; ServerPort : UINT; // eg: 1883 KeepAlive : UINT; // In seconds (60 = 60seconds) Username : WSTRING := ""; Password : WSTRING := ""; CleanSession : BOOL := FALSE; UseTLS : BOOL := FALSE; END_STRUCT END_TYPE |