java implementation of comlink2 serial protocol