function sendToSerial input Modelica_DeviceDrivers.Communication.SerialPort sPort "Serial Port object"; input Modelica_DeviceDrivers.Packaging.SerialPackager pkg; input Integer dataSize "Size of data"; input Real dummy; output Real dummy2; end sendToSerial;