public interface DebugInterface
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the port.
|
DebugMessageProcessor |
getMessageReceiver() |
List<String> |
getPortIdentifiers() |
boolean |
isOpened() |
void |
open(String portName,
int baudRate,
org.bidib.jbidibc.core.ConnectionListener connectionListener,
org.bidib.jbidibc.core.helpers.Context context)
Open connection to the specified port.
|
void |
send(byte[] content) |
void |
send(String message,
LineEndingEnum lineEnding) |
List<String> getPortIdentifiers()
DebugMessageProcessor getMessageReceiver()
void close()
boolean isOpened()
void open(String portName, int baudRate, org.bidib.jbidibc.core.ConnectionListener connectionListener, org.bidib.jbidibc.core.helpers.Context context) throws org.bidib.jbidibc.core.exception.PortNotFoundException, org.bidib.jbidibc.core.exception.PortNotOpenedException
portName - the port identifierbaudRate - the baud rate to useconnectionListener - the connection listenercontext - the contextorg.bidib.jbidibc.core.exception.PortNotFoundExceptionorg.bidib.jbidibc.core.exception.PortNotOpenedExceptionvoid send(String message, LineEndingEnum lineEnding)
message - the message to sendvoid send(byte[] content)
content - the content to sendCopyright © 2018. All rights reserved.