I am using this library for communicating with serial ports from Java. Also I am using USB to Serial converter to connect to the device. Here is the documentation that is related to the device :
2.1 Physical Interface The required physical interface between the host and the VGM is the EIA-232 interface.
2.2 Logical Interface The serial data link shall operate at the speed of 19,200 bits per second (BPS), with one start bit, eight data bits, a wake-up bit and one stop bit. The wake-up bit should be set in the first byte of the message; the wake-up bit should be cleared for the remainder of the message. The VGM shall clear the wake-up bit when responding to the host.
I am a little puzzled how to setup the rs232 library settings when connecting to the serial port. There are baud settings, data length in bits (5, 6, 7, 8), stop bits (1, 2) and parity setting. When I mess with these settings I of course get different output (most of the time looking like trash). Can you help me guess the settings with regards to the quoted documentation?