Closed MichalKononenko closed 7 years ago
I fixed that bit, but it now throws an IndexOutOfBoundsException
. This is because I don't have any ports connected at the moment. Unfortunately, I can't unit test deeper than that. Checking if the array is non-empty will have to be done in integration.
I tested it. It's good. There could be a slight issue when it comes to adding a particular RXTX dll that we need for running Serial connections, but we'll cross that bridge when we get to it.
Right now, the code relies on the RXTX library for serial communication, and seems to need librxtx-java to be installed. Not doing so throws the error below.
This may be an OS-specific issue, and may require a build on Windows in order to work correctly.