| Modifier and Type | Method and Description |
|---|---|
JSerialCommChannelConfig |
JSerialCommChannel.config() |
JSerialCommChannelConfig |
JSerialCommChannelConfig.setAllocator(io.netty.buffer.ByteBufAllocator allocator) |
JSerialCommChannelConfig |
JSerialCommChannelConfig.setAutoRead(boolean autoRead) |
JSerialCommChannelConfig |
JSerialCommChannelConfig.setBaudrate(int baudrate)
Sets the baud rate (ie.
|
JSerialCommChannelConfig |
JSerialCommChannelConfig.setConnectTimeoutMillis(int connectTimeoutMillis) |
JSerialCommChannelConfig |
JSerialCommChannelConfig.setDatabits(int databits)
Sets the number of data bits to use to make up each character sent to the serial
device.
|
JSerialCommChannelConfig |
JSerialCommChannelConfig.setMessageSizeEstimator(io.netty.channel.MessageSizeEstimator estimator) |
JSerialCommChannelConfig |
JSerialCommChannelConfig.setParitybit(JSerialCommChannelConfig.Paritybit paritybit)
Sets the type of parity bit to be used when communicating with the serial device.
|
JSerialCommChannelConfig |
JSerialCommChannelConfig.setReadTimeout(int readTimeout)
Sets the maximal time (in ms) to block while try to read from the serial port.
|
JSerialCommChannelConfig |
JSerialCommChannelConfig.setRecvByteBufAllocator(io.netty.channel.RecvByteBufAllocator allocator) |
JSerialCommChannelConfig |
JSerialCommChannelConfig.setStopbits(JSerialCommChannelConfig.Stopbits stopbits)
Sets the number of stop bits to include at the end of every character to aid the
serial device in synchronising with the data.
|
JSerialCommChannelConfig |
JSerialCommChannelConfig.setWaitTimeMillis(int waitTimeMillis)
Sets the time to wait after opening the serial port and before sending it any
configuration information or data.
|
JSerialCommChannelConfig |
JSerialCommChannelConfig.setWriteBufferHighWaterMark(int writeBufferHighWaterMark) |
JSerialCommChannelConfig |
JSerialCommChannelConfig.setWriteBufferLowWaterMark(int writeBufferLowWaterMark) |
JSerialCommChannelConfig |
JSerialCommChannelConfig.setWriteSpinCount(int writeSpinCount) |
Copyright © 2017. All rights reserved.