Upgrade MQTT Client SL to currently latest v1.0.2.0
From CODESY Release Notes;
Integration of the library ‘Net Base Services’
Added filter mode for subscribers
Improved send/receive performance
Improved error handling
Bugfix: Clean up of interal queues after disconnect
Implemented int FB_EoNMQTT;
ITLSContextProvider : REFERENCE TO MQTT.NBS.ITLSContext; //Encapsulates all the data neccecray to handle encrypted tcp connections
//Static initialization, as shown in the following code snippet;
//
//VAR
// commonName : STRING := 'MyRasPi';
// ciCertInfo : NBS.CERT_INFO := (psInfo:=ADR(commonName), udiSize:=LEN(commonName));
// myTLSContext : NBS.TLSContext := (
// ePurpose:=NBS.PURPOSE.CLIENT_SIDE,
// sUseCaseName:='NBSTest',
// sTLSVersion:='1.3',
// ciCertInfo:=ciCertInfo,
// udiVerificationMode:=2
// );
//END_VAR
IASyncPropertyProvider : REFERENCE TO MQTT.NBS.IAsyncProperty; // Runs the connect process in a own background task. Use this property if the connection setup takes longer than one task cycle (e.g. TLS connections)
Removed keyword INTERNAL in various methods and properties
hermsen 2020-12-27