.Modelica_DeviceDrivers.Communication.SerialPort_.getReceivedBytes

Information

Deprecated function. Don't use it.

Kept for backward compatibility. Only very limited use since due to thread parallelism (the serial port is read from a dedicated thread) the returned value may already be outdated when it is returned or when a later conditional action is based on the returned value.

Interface

encapsulated function getReceivedBytes
  import Modelica;
  extends Modelica.Icons.Function;
  extends Modelica.Icons.ObsoleteModel;
  import Modelica_DeviceDrivers.Communication.SerialPort;
  input SerialPort sPort;
  output Integer receivedBytes "Number of received bytes";
end getReceivedBytes;

Generated at 2024-12-26T19:25:54Z by OpenModelicaOpenModelica 1.24.3 using GenerateDoc.mos