|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esf.device.serial.comm.service.SerialMode
This static class provides the available operating modes.
Modes listed in this class are used for parameter checking in all methods where the operating mode may be modified. Not all modes are supported by all devices, half-duplex modes are only supported by acscomm devices.
Field Summary | |
static int |
FullDuplexHandshake
Forces DTR active and cycles RTS with TX and holds of TX if CTS not active. |
static int |
FullDuplexNoHandshake
Ignores DSR, DCD and CTS. |
static int |
HalfDuplexHandshake
For acscomm devices: forces DTR active and RTS active during TX. |
static int |
HalfDuplexNoHandshake
For acscomm devices: forces RTS and DTR active and operates in half duplex mode. |
static int |
HalfDuplexRtsExtended
For acscomm devices: forces DTR active and RTS extended active during TX. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int FullDuplexNoHandshake
public static final int HalfDuplexNoHandshake
Note This mode is a true half duplex mode, reception is blocked during transmission, so data is not just thrown away or held in a buffer, it is actually not seen. Further, if data is coming in at the end of transmission, it may cause invalid data to be received for multiple bytes as the receiver attempts to syncronize with the incoming data.
public static final int FullDuplexHandshake
Note For acscomm devices only, the RTS signal is extended to ensure it is active for the final byte transmission and may be extended up to 1 millisecond beyond the end of the final stop bit. This extension is for compatibility with RS485 interfaces.
public static final int HalfDuplexHandshake
Note The RTS signal is extended to ensure it is active for the final byte transmission and may be extended up to 1 millisecond beyond the end of the final stop bit. This extension is for compatibility with RS485 interfaces.
Note This mode is a true half duplex mode, reception is blocked during transmission, so data is not just thrown away or held in a buffer, it is actually not seen. Further, if data is coming in at the end of transmission, it may cause invalid data to be received for multiple bytes as the receiver attempts to syncronize with the incoming data.
public static final int HalfDuplexRtsExtended
Note The RTS signal may be extended both before TX with the warmUp value and after TX with the warmDown value. These values are set in milliseconds. The warmDown is timed after the end of the last stop bit of the last byte and may vary by 1 full millisecond.
Note This mode is a true half duplex mode, reception is blocked during transmission, so data is not just thrown away or held in a buffer, it is actually not seen. Further, if data is coming in at the end of transmission, it may cause invalid data to be received for multiple bytes as the receiver attempts to syncronize with the incoming data.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |