I'm using pyserial library to control a /dev/ttyS0 port in linux (Debian), and I need to communicate with an external device that require the hardware handshaking (RTS/CTS).
I'm activating corresponding parameters (rtscts=1, timeout=None) but RTS signal doesn't rise automatically when data must be send, neither down automatically when data was sent. So, I do that manually with timers and functions setRTS(1) / setRTS(0). But this way has many sinchronization issues (cutting frecuently input and/or output messages).
Could you help me, please, telling me what must be done for RTS signal operate unassisted (automatically) ?
Thanks a lot ... pomaresj