Class UdevSerialConfig

java.lang.Object
com.tccc.kos.core.service.udev.UdevSerialConfig

public class UdevSerialConfig extends Object
Serial configuration for probing serial devices. The baud rate must be configured, but all other values default to -1, meaning they will be ignored. To adjust any particular config setting, determing the actual termios setting value and set the corresponding property. This does not support deltas (masking flags). This means that the actual termios structure value needs to be determined first and then set accordingly.
Version:
2025-07-09
  • Constructor Details

    • UdevSerialConfig

      public UdevSerialConfig()
  • Method Details

    • getBaud

      public int getBaud()
    • getCflag

      public int getCflag()
    • getOflag

      public int getOflag()
    • getIflag

      public int getIflag()
    • getLflag

      public int getLflag()
    • getVmin

      public short getVmin()
    • getVtime

      public short getVtime()
    • setBaud

      public void setBaud(int baud)
    • setCflag

      public void setCflag(int cflag)
    • setOflag

      public void setOflag(int oflag)
    • setIflag

      public void setIflag(int iflag)
    • setLflag

      public void setLflag(int lflag)
    • setVmin

      public void setVmin(short vmin)
    • setVtime

      public void setVtime(short vtime)