function getPos import Modelica; extends Modelica.Icons.Function; import Modelica_DeviceDrivers.Packaging.SerialPackager; input SerialPackager pkg; input Real dummy; output Integer pos(min = 0) "Get current byte position of package"; output Real dummy2; end getPos;