|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectgnu.io.CommPort
gnu.io.SerialPort
gnu.io.RXTXPort
public final class RXTXPort
An extension of gnu.io.SerialPort
SerialPort
入れ子のクラスの概要 | |
---|---|
(package private) class |
RXTXPort.MonitorThread
|
(package private) class |
RXTXPort.SerialInputStream
Inner class for SerialInputStream |
(package private) class |
RXTXPort.SerialOutputStream
Inner class for SerialOutputStream |
フィールドの概要 | |
---|---|
(package private) boolean |
closeLock
|
private int |
dataBits
Data bits port parameter |
protected static boolean |
debug
|
protected static boolean |
debug_events
|
protected static boolean |
debug_read
|
protected static boolean |
debug_read_results
|
protected static boolean |
debug_verbose
|
protected static boolean |
debug_write
|
(package private) static boolean |
dsrFlag
DSR flag |
(package private) long |
eis
a pointer to the event info structure used to share information between threads so write threads can send output buffer empty from a pthread if need be. |
private int |
fd
File descriptor |
private int |
flowmode
Flow control |
private RXTXPort.SerialInputStream |
in
Input stream |
private int |
InputBuffer
FIXME I think this refers to FOPEN(3)/SETBUF(3)/FREAD(3)/FCLOSE(3) taj@www.linux.org.uk These are native stubs... |
(package private) int |
IOLocked
|
(package private) boolean |
MonitorThreadAlive
|
(package private) boolean |
MonitorThreadLock
Add an event listener |
private RXTXPort.MonitorThread |
monThread
Thread to monitor data |
(package private) boolean |
monThreadisInterrupted
|
private RXTXPort.SerialOutputStream |
out
Output stream |
private int |
OutputBuffer
|
private int |
parity
Parity port parameter |
(package private) int |
pid
pid for lock files |
private int |
speed
Line speed in bits-per-second |
private SerialPortEventListener |
SPEventListener
Serial Port Event listener |
private int |
stopBits
Stop bits port parameter |
private int |
threshold
Receive threshold control |
private int |
timeout
Receive timeout control |
private static Zystem |
z
|
クラス gnu.io.CommPort から継承されたフィールド |
---|
name |
コンストラクタの概要 | |
---|---|
RXTXPort(java.lang.String name)
Open the named port |
メソッドの概要 | |
---|---|
void |
addEventListener(SerialPortEventListener lsnr)
|
boolean |
checkMonitorThread()
|
boolean |
clearCommInput()
Extension to CommAPI returns boolean true on success |
void |
close()
|
void |
disableReceiveFraming()
|
void |
disableReceiveThreshold()
|
void |
disableReceiveTimeout()
|
void |
enableReceiveFraming(int f)
Receive framing control |
void |
enableReceiveThreshold(int thresh)
|
void |
enableReceiveTimeout(int time)
|
(package private) void |
eventLoop()
Process SerialPortEvents |
protected void |
finalize()
Finalize the port |
int |
getBaudBase()
Extension to CommAPI |
int |
getBaudRate()
|
boolean |
getCallOutHangup()
Extension to CommAPI returns boolean true on success |
int |
getDataBits()
|
int |
getDivisor()
Extension to CommAPI |
byte |
getEndOfInputChar()
Extension to CommAPI This is an extension to CommAPI. |
int |
getFlowControlMode()
|
int |
getInputBufferSize()
|
java.io.InputStream |
getInputStream()
get the InputStream |
boolean |
getLowLatency()
Extension to CommAPI returns boolean true on success |
int |
getOutputBufferSize()
|
java.io.OutputStream |
getOutputStream()
get the OutputStream |
int |
getParity()
|
byte |
getParityErrorChar()
Extension to CommAPI This is an extension to CommAPI. |
int |
getReceiveFramingByte()
|
int |
getReceiveThreshold()
|
int |
getReceiveTimeout()
|
int |
getStopBits()
|
java.lang.String |
getUARTType()
Extension to CommAPI This is an extension to CommAPI. |
private static void |
Initialize()
Initialize the native library |
private void |
interruptEventLoop()
|
boolean |
isCD()
|
boolean |
isCTS()
|
boolean |
isDSR()
|
boolean |
isDTR()
|
boolean |
isReceiveFramingEnabled()
|
boolean |
isReceiveThresholdEnabled()
|
boolean |
isReceiveTimeoutEnabled()
|
boolean |
isRI()
|
boolean |
isRTS()
|
protected int |
nativeavailable()
RXTXPort read methods |
private boolean |
nativeClearCommInput()
|
private void |
nativeClose(java.lang.String name)
Close the port |
protected boolean |
nativeDrain(boolean i)
|
private void |
NativeEnableReceiveTimeoutThreshold(int time,
int threshold,
int InputBuffer)
|
private int |
nativeGetBaudBase()
|
private boolean |
nativeGetCallOutHangup()
|
private int |
nativeGetDivisor()
|
private byte |
nativeGetEndOfInputChar()
|
private int |
nativeGetFlowControlMode(int fd)
|
private boolean |
nativeGetLowLatency()
|
private int |
nativeGetParity(int fd)
Set the SerialPort parameters 1.5 stop bits requires 5 databits |
private byte |
nativeGetParityErrorChar()
|
int |
NativegetReceiveTimeout()
|
(package private) java.lang.String |
nativeGetUartType()
|
private boolean |
NativeisReceiveTimeoutEnabled()
|
private boolean |
nativeSetBaudBase(int BaudBase)
|
private boolean |
nativeSetCallOutHangup(boolean NoHup)
|
private boolean |
nativeSetDivisor(int Divisor)
|
private boolean |
nativeSetEndOfInputChar(byte b)
|
private void |
nativeSetEventFlag(int fd,
int event,
boolean flag)
|
private boolean |
nativeSetLowLatency()
|
private boolean |
nativeSetParityErrorChar(byte b)
|
private boolean |
nativeSetSerialPortParams(int speed,
int dataBits,
int stopBits,
int parity)
Set the native serial port parameters If speed is not a predifined speed it is assumed to be the actual speed desired. |
private boolean |
nativeSetUartType(java.lang.String type,
boolean test)
|
private static int |
nativeStaticGetBaudRate(java.lang.String port)
|
private static int |
nativeStaticGetDataBits(java.lang.String port)
|
private static int |
nativeStaticGetParity(java.lang.String port)
|
private static int |
nativeStaticGetStopBits(java.lang.String port)
|
private static boolean |
nativeStaticIsCD(java.lang.String port)
|
private static boolean |
nativeStaticIsCTS(java.lang.String port)
|
private static boolean |
nativeStaticIsDSR(java.lang.String port)
|
private static boolean |
nativeStaticIsDTR(java.lang.String port)
|
private static boolean |
nativeStaticIsRI(java.lang.String port)
|
private static boolean |
nativeStaticIsRTS(java.lang.String port)
|
private static boolean |
nativeStaticSetDSR(java.lang.String port,
boolean flag)
|
private static boolean |
nativeStaticSetDTR(java.lang.String port,
boolean flag)
|
private static boolean |
nativeStaticSetRTS(java.lang.String port,
boolean flag)
|
private static void |
nativeStaticSetSerialPortParams(java.lang.String f,
int b,
int d,
int s,
int p)
|
void |
notifyOnBreakInterrupt(boolean enable)
|
void |
notifyOnCarrierDetect(boolean enable)
|
void |
notifyOnCTS(boolean enable)
|
void |
notifyOnDataAvailable(boolean enable)
|
void |
notifyOnDSR(boolean enable)
|
void |
notifyOnFramingError(boolean enable)
|
void |
notifyOnOutputEmpty(boolean enable)
|
void |
notifyOnOverrunError(boolean enable)
|
void |
notifyOnParityError(boolean enable)
|
void |
notifyOnRingIndicator(boolean enable)
|
private int |
open(java.lang.String name)
|
protected int |
readArray(byte[] b,
int off,
int len)
|
protected int |
readByte()
|
protected int |
readTerminatedArray(byte[] b,
int off,
int len,
byte[] t)
|
void |
removeEventListener()
Remove the serial port event listener |
void |
sendBreak(int duration)
Write to the port |
boolean |
sendEvent(int event,
boolean state)
|
boolean |
setBaudBase(int BaudBase)
Extension to CommAPI. |
boolean |
setCallOutHangup(boolean NoHup)
Extension to CommAPI returns boolean true on success |
boolean |
setDivisor(int Divisor)
Extension to CommAPI. |
private void |
setDSR(boolean state)
|
void |
setDTR(boolean state)
|
boolean |
setEndOfInputChar(byte b)
Extension to CommAPI This is an extension to CommAPI. |
(package private) void |
setflowcontrol(int flowcontrol)
|
void |
setFlowControlMode(int flowcontrol)
|
void |
setInputBufferSize(int size)
|
boolean |
setLowLatency()
Extension to CommAPI returns boolean true on success |
void |
setOutputBufferSize(int size)
|
boolean |
setParityErrorChar(byte b)
Extension to CommAPI This is an extension to CommAPI. |
void |
setRcvFifoTrigger(int trigger)
推奨されていません。 deprecated but used in Kaffe |
void |
setRTS(boolean state)
|
void |
setSerialPortParams(int b,
int d,
int s,
int p)
|
boolean |
setUARTType(java.lang.String type,
boolean test)
Extension to CommAPI This is an extension to CommAPI. |
static int |
staticGetBaudRate(java.lang.String port)
Extension to CommAPI This is an extension to CommAPI. |
static int |
staticGetDataBits(java.lang.String port)
Extension to CommAPI This is an extension to CommAPI. |
static int |
staticGetParity(java.lang.String port)
Extension to CommAPI This is an extension to CommAPI. |
static int |
staticGetStopBits(java.lang.String port)
Extension to CommAPI This is an extension to CommAPI. |
static boolean |
staticIsCD(java.lang.String port)
Extension to CommAPI This is an extension to CommAPI. |
static boolean |
staticIsCTS(java.lang.String port)
Extension to CommAPI This is an extension to CommAPI. |
static boolean |
staticIsDSR(java.lang.String port)
Extension to CommAPI This is an extension to CommAPI. |
static boolean |
staticIsDTR(java.lang.String port)
Extension to CommAPI This is an extension to CommAPI. |
static boolean |
staticIsRI(java.lang.String port)
Extension to CommAPI This is an extension to CommAPI. |
static boolean |
staticIsRTS(java.lang.String port)
Extension to CommAPI This is an extension to CommAPI. |
static boolean |
staticSetDSR(java.lang.String port,
boolean flag)
Extension to CommAPI This is an extension to CommAPI. |
static boolean |
staticSetDTR(java.lang.String port,
boolean flag)
Extension to CommAPI This is an extension to CommAPI. |
static boolean |
staticSetRTS(java.lang.String port,
boolean flag)
Extension to CommAPI This is an extension to CommAPI. |
static void |
staticSetSerialPortParams(java.lang.String f,
int b,
int d,
int s,
int p)
Extension to CommAPI This is an extension to CommAPI. |
protected void |
waitForTheNativeCodeSilly()
Give the native code a chance to start listening to the hardware or should we say give the native code control of the issue. |
protected void |
writeArray(byte[] b,
int off,
int len,
boolean i)
|
protected void |
writeByte(int b,
boolean i)
|
クラス gnu.io.CommPort から継承されたメソッド |
---|
getName, toString |
クラス java.lang.Object から継承されたメソッド |
---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
フィールドの詳細 |
---|
protected static final boolean debug
protected static final boolean debug_read
protected static final boolean debug_read_results
protected static final boolean debug_write
protected static final boolean debug_events
protected static final boolean debug_verbose
private static Zystem z
boolean MonitorThreadAlive
int IOLocked
private int fd
long eis
int pid
static boolean dsrFlag
private final RXTXPort.SerialOutputStream out
private final RXTXPort.SerialInputStream in
private int speed
private int dataBits
private int stopBits
private int parity
private int flowmode
private int timeout
private int threshold
private int InputBuffer
private int OutputBuffer
private SerialPortEventListener SPEventListener
private RXTXPort.MonitorThread monThread
boolean monThreadisInterrupted
boolean MonitorThreadLock
boolean closeLock
コンストラクタの詳細 |
---|
public RXTXPort(java.lang.String name) throws PortInUseException
name
- the name of the device to open
PortInUseException
SerialPort
メソッドの詳細 |
---|
private static void Initialize()
private int open(java.lang.String name) throws PortInUseException
PortInUseException
public java.io.OutputStream getOutputStream()
CommPort
内の getOutputStream
public java.io.InputStream getInputStream()
CommPort
内の getInputStream
InputStream
private int nativeGetParity(int fd)
b
- baudrated
- databitss
- stopbitsp
- parity
UnsupportedCommOperationException
If speed is not a predifined speed it is assumed to be
the actual speed desired.
private int nativeGetFlowControlMode(int fd)
public void setSerialPortParams(int b, int d, int s, int p) throws UnsupportedCommOperationException
SerialPort
内の setSerialPortParams
UnsupportedCommOperationException
private boolean nativeSetSerialPortParams(int speed, int dataBits, int stopBits, int parity) throws UnsupportedCommOperationException
UnsupportedCommOperationException
public int getBaudRate()
SerialPort
内の getBaudRate
public int getDataBits()
SerialPort
内の getDataBits
public int getStopBits()
SerialPort
内の getStopBits
public int getParity()
SerialPort
内の getParity
public void setFlowControlMode(int flowcontrol)
SerialPort
内の setFlowControlMode
flowcontrol
- FLOWCONTROL_NONE is defaultSerialPort.FLOWCONTROL_NONE
public int getFlowControlMode()
SerialPort
内の getFlowControlMode
void setflowcontrol(int flowcontrol) throws java.io.IOException
java.io.IOException
public void enableReceiveFraming(int f) throws UnsupportedCommOperationException
CommPort
内の enableReceiveFraming
f
- framming
UnsupportedCommOperationException
public void disableReceiveFraming()
CommPort
内の disableReceiveFraming
public boolean isReceiveFramingEnabled()
CommPort
内の isReceiveFramingEnabled
public int getReceiveFramingByte()
CommPort
内の getReceiveFramingByte
public int NativegetReceiveTimeout()
private boolean NativeisReceiveTimeoutEnabled()
private void NativeEnableReceiveTimeoutThreshold(int time, int threshold, int InputBuffer)
time
- threshold
- InputBuffer
- public void disableReceiveTimeout()
CommPort
内の disableReceiveTimeout
public void enableReceiveTimeout(int time)
CommPort
内の enableReceiveTimeout
time
- public boolean isReceiveTimeoutEnabled()
CommPort
内の isReceiveTimeoutEnabled
public int getReceiveTimeout()
CommPort
内の getReceiveTimeout
public void enableReceiveThreshold(int thresh)
CommPort
内の enableReceiveThreshold
thresh
- thresholdpublic void disableReceiveThreshold()
CommPort
内の disableReceiveThreshold
public int getReceiveThreshold()
CommPort
内の getReceiveThreshold
public boolean isReceiveThresholdEnabled()
CommPort
内の isReceiveThresholdEnabled
public void setInputBufferSize(int size)
CommPort
内の setInputBufferSize
size
- public int getInputBufferSize()
CommPort
内の getInputBufferSize
public void setOutputBufferSize(int size)
CommPort
内の setOutputBufferSize
size
- public int getOutputBufferSize()
CommPort
内の getOutputBufferSize
public boolean isDTR()
SerialPort
内の isDTR
public void setDTR(boolean state)
SerialPort
内の setDTR
state
- public void setRTS(boolean state)
SerialPort
内の setRTS
state
- private void setDSR(boolean state)
public boolean isCTS()
SerialPort
内の isCTS
public boolean isDSR()
SerialPort
内の isDSR
public boolean isCD()
SerialPort
内の isCD
public boolean isRI()
SerialPort
内の isRI
public boolean isRTS()
SerialPort
内の isRTS
public void sendBreak(int duration)
SerialPort
内の sendBreak
duration
- protected void writeByte(int b, boolean i) throws java.io.IOException
java.io.IOException
protected void writeArray(byte[] b, int off, int len, boolean i) throws java.io.IOException
java.io.IOException
protected boolean nativeDrain(boolean i) throws java.io.IOException
java.io.IOException
protected int nativeavailable() throws java.io.IOException
java.io.IOException
protected int readByte() throws java.io.IOException
java.io.IOException
protected int readArray(byte[] b, int off, int len) throws java.io.IOException
java.io.IOException
protected int readTerminatedArray(byte[] b, int off, int len, byte[] t) throws java.io.IOException
java.io.IOException
void eventLoop()
private void interruptEventLoop()
public boolean checkMonitorThread()
public boolean sendEvent(int event, boolean state)
event
- state
-
public void addEventListener(SerialPortEventListener lsnr) throws java.util.TooManyListenersException
SerialPort
内の addEventListener
java.util.TooManyListenersException
public void removeEventListener()
SerialPort
内の removeEventListener
protected void waitForTheNativeCodeSilly()
private void nativeSetEventFlag(int fd, int event, boolean flag)
enable
- public void notifyOnDataAvailable(boolean enable)
SerialPort
内の notifyOnDataAvailable
public void notifyOnOutputEmpty(boolean enable)
SerialPort
内の notifyOnOutputEmpty
enable
- public void notifyOnCTS(boolean enable)
SerialPort
内の notifyOnCTS
enable
- public void notifyOnDSR(boolean enable)
SerialPort
内の notifyOnDSR
enable
- public void notifyOnRingIndicator(boolean enable)
SerialPort
内の notifyOnRingIndicator
enable
- public void notifyOnCarrierDetect(boolean enable)
SerialPort
内の notifyOnCarrierDetect
enable
- public void notifyOnOverrunError(boolean enable)
SerialPort
内の notifyOnOverrunError
enable
- public void notifyOnParityError(boolean enable)
SerialPort
内の notifyOnParityError
enable
- public void notifyOnFramingError(boolean enable)
SerialPort
内の notifyOnFramingError
enable
- public void notifyOnBreakInterrupt(boolean enable)
SerialPort
内の notifyOnBreakInterrupt
enable
- private void nativeClose(java.lang.String name)
public void close()
CommPort
内の close
protected void finalize()
java.lang.Object
内の finalize
public void setRcvFifoTrigger(int trigger)
private static void nativeStaticSetSerialPortParams(java.lang.String f, int b, int d, int s, int p) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private static boolean nativeStaticSetDSR(java.lang.String port, boolean flag) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private static boolean nativeStaticSetDTR(java.lang.String port, boolean flag) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private static boolean nativeStaticSetRTS(java.lang.String port, boolean flag) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private static boolean nativeStaticIsDSR(java.lang.String port) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private static boolean nativeStaticIsDTR(java.lang.String port) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private static boolean nativeStaticIsRTS(java.lang.String port) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private static boolean nativeStaticIsCTS(java.lang.String port) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private static boolean nativeStaticIsCD(java.lang.String port) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private static boolean nativeStaticIsRI(java.lang.String port) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private static int nativeStaticGetBaudRate(java.lang.String port) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private static int nativeStaticGetDataBits(java.lang.String port) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private static int nativeStaticGetParity(java.lang.String port) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private static int nativeStaticGetStopBits(java.lang.String port) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private byte nativeGetParityErrorChar() throws UnsupportedCommOperationException
UnsupportedCommOperationException
private boolean nativeSetParityErrorChar(byte b) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private byte nativeGetEndOfInputChar() throws UnsupportedCommOperationException
UnsupportedCommOperationException
private boolean nativeSetEndOfInputChar(byte b) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private boolean nativeSetUartType(java.lang.String type, boolean test) throws UnsupportedCommOperationException
UnsupportedCommOperationException
java.lang.String nativeGetUartType() throws UnsupportedCommOperationException
UnsupportedCommOperationException
private boolean nativeSetBaudBase(int BaudBase) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private int nativeGetBaudBase() throws UnsupportedCommOperationException
UnsupportedCommOperationException
private boolean nativeSetDivisor(int Divisor) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private int nativeGetDivisor() throws UnsupportedCommOperationException
UnsupportedCommOperationException
private boolean nativeSetLowLatency() throws UnsupportedCommOperationException
UnsupportedCommOperationException
private boolean nativeGetLowLatency() throws UnsupportedCommOperationException
UnsupportedCommOperationException
private boolean nativeSetCallOutHangup(boolean NoHup) throws UnsupportedCommOperationException
UnsupportedCommOperationException
private boolean nativeGetCallOutHangup() throws UnsupportedCommOperationException
UnsupportedCommOperationException
private boolean nativeClearCommInput() throws UnsupportedCommOperationException
UnsupportedCommOperationException
public static int staticGetBaudRate(java.lang.String port) throws UnsupportedCommOperationException
port
- the name of the port thats been preopened
UnsupportedCommOperationException;
- This will not behave as expected with custom speeds
UnsupportedCommOperationException
public static int staticGetDataBits(java.lang.String port) throws UnsupportedCommOperationException
port
- the name of the port thats been preopened
UnsupportedCommOperationException;
UnsupportedCommOperationException
public static int staticGetParity(java.lang.String port) throws UnsupportedCommOperationException
port
- the name of the port thats been preopened
UnsupportedCommOperationException;
UnsupportedCommOperationException
public static int staticGetStopBits(java.lang.String port) throws UnsupportedCommOperationException
port
- the name of the port thats been preopened
UnsupportedCommOperationException;
UnsupportedCommOperationException
public static void staticSetSerialPortParams(java.lang.String f, int b, int d, int s, int p) throws UnsupportedCommOperationException
f
- filenameb
- baudrated
- databitss
- stopbitsp
- parity
UnsupportedCommOperationException
UnsupportedCommOperationException
public static boolean staticSetDSR(java.lang.String port, boolean flag) throws UnsupportedCommOperationException
UnsupportedCommOperationException;
UnsupportedCommOperationException
public static boolean staticSetDTR(java.lang.String port, boolean flag) throws UnsupportedCommOperationException
UnsupportedCommOperationException;
UnsupportedCommOperationException
public static boolean staticSetRTS(java.lang.String port, boolean flag) throws UnsupportedCommOperationException
UnsupportedCommOperationException;
UnsupportedCommOperationException
public static boolean staticIsRTS(java.lang.String port) throws UnsupportedCommOperationException
String
- port
UnsupportedCommOperationException;
UnsupportedCommOperationException
public static boolean staticIsCD(java.lang.String port) throws UnsupportedCommOperationException
String
- port
UnsupportedCommOperationException;
UnsupportedCommOperationException
public static boolean staticIsCTS(java.lang.String port) throws UnsupportedCommOperationException
String
- port
UnsupportedCommOperationException;
UnsupportedCommOperationException
public static boolean staticIsDSR(java.lang.String port) throws UnsupportedCommOperationException
String
- port
UnsupportedCommOperationException;
UnsupportedCommOperationException
public static boolean staticIsDTR(java.lang.String port) throws UnsupportedCommOperationException
String
- port
UnsupportedCommOperationException;
UnsupportedCommOperationException
public static boolean staticIsRI(java.lang.String port) throws UnsupportedCommOperationException
String
- port
UnsupportedCommOperationException;
UnsupportedCommOperationException
public byte getParityErrorChar() throws UnsupportedCommOperationException
SerialPort
内の getParityErrorChar
UnsupportedCommOperationException;
- Anyone know how to do this in Unix?
UnsupportedCommOperationException
public boolean setParityErrorChar(byte b) throws UnsupportedCommOperationException
SerialPort
内の setParityErrorChar
b
- Parity Error Character
UnsupportedCommOperationException;
- Anyone know how to do this in Unix?
UnsupportedCommOperationException
public byte getEndOfInputChar() throws UnsupportedCommOperationException
SerialPort
内の getEndOfInputChar
UnsupportedCommOperationException;
- Anyone know how to do this in Unix?
UnsupportedCommOperationException
public boolean setEndOfInputChar(byte b) throws UnsupportedCommOperationException
SerialPort
内の setEndOfInputChar
b
- End Of Input Character
UnsupportedCommOperationException;
UnsupportedCommOperationException
public boolean setUARTType(java.lang.String type, boolean test) throws UnsupportedCommOperationException
SerialPort
内の setUARTType
type
- String representation of the UART type which mayb
be "none", "8250", "16450", "16550", "16550A", "16650", "16550V2"
or "16750".test
- boolean flag to determin if the UART should be tested.
UnsupportedCommOperationException;
UnsupportedCommOperationException
public java.lang.String getUARTType() throws UnsupportedCommOperationException
SerialPort
内の getUARTType
UnsupportedCommOperationException;
UnsupportedCommOperationException
public boolean setBaudBase(int BaudBase) throws UnsupportedCommOperationException, java.io.IOException
SerialPort
内の setBaudBase
int
- BaudBase The clock frequency divided by 16. Default
BaudBase is 115200.
UnsupportedCommOperationException,
- IOException
UnsupportedCommOperationException
java.io.IOException
public int getBaudBase() throws UnsupportedCommOperationException, java.io.IOException
SerialPort
内の getBaudBase
UnsupportedCommOperationException,
- IOException
UnsupportedCommOperationException
java.io.IOException
public boolean setDivisor(int Divisor) throws UnsupportedCommOperationException, java.io.IOException
SerialPort
内の setDivisor
int
- Divisor;
UnsupportedCommOperationException,
- IOException
UnsupportedCommOperationException
java.io.IOException
public int getDivisor() throws UnsupportedCommOperationException, java.io.IOException
SerialPort
内の getDivisor
UnsupportedCommOperationException,
- IOException
UnsupportedCommOperationException
java.io.IOException
public boolean setLowLatency() throws UnsupportedCommOperationException
SerialPort
内の setLowLatency
UnsupportedCommOperationException
public boolean getLowLatency() throws UnsupportedCommOperationException
SerialPort
内の getLowLatency
UnsupportedCommOperationException
public boolean setCallOutHangup(boolean NoHup) throws UnsupportedCommOperationException
SerialPort
内の setCallOutHangup
UnsupportedCommOperationException
public boolean getCallOutHangup() throws UnsupportedCommOperationException
SerialPort
内の getCallOutHangup
UnsupportedCommOperationException
public boolean clearCommInput() throws UnsupportedCommOperationException
UnsupportedCommOperationException
|
||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |