public interface IHarcHardware extends Closeable
Modifier and Type | Method and Description |
---|---|
String |
getVersion()
Returns the hardware version (not the version of the driver software).
|
boolean |
isValid()
Tries to identify instances that are not valid.
|
void |
open()
Opens the device with previously set parameters.
|
void |
setDebug(int debug)
Sets a debug parameter.
|
void |
setTimeout(int timeout)
Set timeout in milliseconds.
|
void |
setVerbose(boolean verbose)
Sets a verbosity flag, causing commands to be executed verbosely.
|
String getVersion() throws IOException
IOException
void setVerbose(boolean verbose)
verbose
- on or offvoid setDebug(int debug)
debug
- void setTimeout(int timeout) throws IOException
timeout
- Timeout in milliseconds.IOException
boolean isValid()
void open() throws HarcHardwareException, IOException
HarcHardwareException
IOException
Copyright © 2019. All rights reserved.