It would be really nice to use jSerialComm [1] instead of RxTx. [1] - https://github.com/Fazecast/jSerialComm