Used the jssc library with a modified version of the example to send messages to a serial port and back.