Can Python serial support run at 45.45 baud?
MRAB
google at mrabarnett.plus.com
Sat Feb 14 13:53:12 EST 2009
John Nagle wrote:
[snip]
> So the correct combination, 5 bits with 1.5 stop bits, isn't supported in
> Python. 1 stop bit will not physically work on Baudot teletypes; the
> main camshaft doesn't come around fast enough. (Yes, there's an actual
> mechanical reason for 1.5 stop bits.) Requesting 2 stop bits at the
> Python level gets a reject at the Win32 level. (Not sure why Win32
> doesn't allow that; extra stop bits just add delay, but don't hurt
> anything. But it's not supported.)
>
I forgot to add that what Windows allows depends on what the hardware
(the serial chip) allows: the MSDN webpage mentions that the DCB struct
configures the 8250.
More information about the Python-list
mailing list