encapsulated function read import Modelica; extends Modelica.Icons.Function; import Modelica_DeviceDrivers.Communication.SerialPort; import Modelica_DeviceDrivers.Packaging.SerialPackager; input SerialPort sPort; input SerialPackager pkg; end read;