Win32/Python serial port event character problem

Derek Basch dbasch at yahoo.com
Tue Jul 30 21:36:36 EDT 2002


Thanks alot. That answers my questions. According to
this:
http://www.tetraedre.com/advanced/serial2/msdn_serial.htm
many different types of flow control can be used at
the same time. It does make sense to leave the lines
high if they are not being used.
Thanks for the help,
Derek Basch

 
--- Chris Liechti <cliechti at gmx.net> wrote:
> Am 30.07.2002 22:19:35, schrieb Derek Basch
> <dbasch at yahoo.com>:
> >I had a quick question about flow control in
> >serialwin32.py. On line 120,:
> >http://www.geocities.com/dbasch/flowcontrol.txt
> >if RTSCTS is selected by the user then RTS and DTR
> are
> >enabled (with handshaking). Why are both RTS and
> DTR
> >enabled? 
> 
> the idea if rtscts is to enable HW-handshake. there
> is 5 and 7
> wire handshaking (RTS/CTS and those plus DTR/DSR).
> i have to admit that i never use HW- handshake, i
> included
> that option for completeness. if if's not doing
> what's generaly
> understood under HW handshake, then they can be
> changed.
> 
> >If RTSCTS is not selected by the user then
> >the RTS and DTR lines are still enabled but nothing
> is
> >done with them. Can you explain why?
> 
> if you don't use hardware handshake, then the lines
> should
> be high, signaling that there is a programm running.
> the pins go high by default, i think, but i wanted
> to be sure.
> i have embedded projects that are powered by the
> control
> lines and thus setting them to high is very
> desirable for me.
> (one board can be reset through the RTS line etc.)
> 
> chris


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com




More information about the Python-list mailing list