When I open a serial connection with pyserial, it seems that the pyserial library sends a DTR signal (even if I have dsrdtr=False).
Why is that?
ser = serial.Serial(com_port, 115200, timeout=5, bytesize=serial.EIGHTBITS, parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE, xonxoff=False, rtscts=False, writeTimeout=None, dsrdtr=False, interCharTimeout=None);
If I do the same program in C, this does not happen.
That's a problem in my case, because I use the DTR signal for a special purpose.
How can avoid that pyserial sends a DTR signal?
Log in to post a comment.