The device driver automatically controls the signal lines to prevent input data overflow. It is possible that the RTS/DTR signal line may change undesirably due to a hardware problem such as a break in the line or a short-circuit with something, but it is not possible for the program to know it, and it is not in a state where communication is possible.Īnother possibility is that hardware flow control is enabled and the serial port input buffer is set small, or even if the buffer is set large, the peer sends more data. You can know what you have set, or what the default state is, even if you have not set it, but it does not change due to external factors. RTS/DTR are output signal controlled by the program you make, not input signal. You and your project members may be misunderstanding the RS232C specifications. The input signal of RS232C are CTS/DSR/RI/CD.
0 Comments
Leave a Reply. |