encapsulated function sendTo import Modelica; extends Modelica.Icons.Function; import Modelica_DeviceDrivers.Communication.MQTT; import Modelica_DeviceDrivers.Packaging.SerialPackager; input MQTT mqtt; input String channel "Transmit Channel"; input SerialPackager pkg; input Boolean retained "Retained flag"; input Integer deliveryTimeout "Delivery timeout"; input Integer dataSize "Size of data"; end sendTo;