I need to develop a system to communicate with device over a direct null modem communication link, full duplex RS-232 connection with, 9600 baud, 7 data bits, Even Parity, and 1 Stop bit. Also need to assert both DTR and RTS at all times. Which one of the following is a better choise? 1) Use a RS-232 to ethernet converter (cable/hardware) and use MINA Socket communication. 2) Use MINA Serial communication classes to talk to the device directly. 3) Any other options? Can anyone provide an example of reading and writing to and from a com port and parsing messages over RS-232? The message format: [Header] Body [Footer] The [Header] starts with STX and has other fields, and the [Footer] comprises of <ETX><LRC> (LRC is the Longitudinal Redundancy Check Digit, which is calculated by performing a BITWISE XOR (Exclusive Or) on all ASCII values (excluding the STX) in the message. All values are from the ASCII character set. ) Fields are seperated by FS [0x1C]
