com.scottpreston.javarobot.chapter2
Interface JSerialPort
- All Known Implementing Classes:
- StandardSerialPort, WebSerialClient
public interface JSerialPort
READ_COMMAND
static final java.lang.String READ_COMMAND
- See Also:
- Constant Field Values
WRITE_COMMAND
static final java.lang.String WRITE_COMMAND
- See Also:
- Constant Field Values
WRITE_READ_COMMAND
static final java.lang.String WRITE_READ_COMMAND
- See Also:
- Constant Field Values
read
byte[] read()
readString
java.lang.String readString()
write
void write(byte[] b)
throws java.lang.Exception
- Throws:
java.lang.Exception
close
void close()
setDTR
void setDTR(boolean dtr)
setTimeout
void setTimeout(int tOut)
read
byte[] read(byte[] b)
throws java.lang.Exception
- Throws:
java.lang.Exception
readString
java.lang.String readString(byte[] b)
throws java.lang.Exception
- Throws:
java.lang.Exception