Hi, wondering if it's possible to get the current pin state (high/low) of the TX and RX lines of a serial port.
What I'm aiming to do is make a program that allows me to attach the serial port to an existing communication line and detect baud rate (and maybe parity), then process intercepted Modbus packets to find out other settings.
Tried googling this, didn't get very far. So far I've only seen that you can get the pin state of the other lines (RTS, CTS, etc.).