Package com.tccc.kos.core.service.udev
Class UdevSerialConfig
java.lang.Object
com.tccc.kos.core.service.udev.UdevSerialConfig
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getBaud()
int
getCflag()
int
getIflag()
int
getLflag()
int
getOflag()
short
getVmin()
short
getVtime()
void
setBaud
(int baud) void
setCflag
(int cflag) void
setIflag
(int iflag) void
setLflag
(int lflag) void
setOflag
(int oflag) void
setVmin
(short vmin) void
setVtime
(short vtime)
-
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)
-