public interface NXTCommRequest
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the connection
|
byte[] |
sendRequest(byte[] message,
int replyLen)
Send an LCP message to the NXT and receive a reply
|
void close() throws java.io.IOException
java.io.IOException
byte[] sendRequest(byte[] message, int replyLen) throws java.io.IOException
message
- the LCP messagereplyLen
- the reply length expectedjava.io.IOException