Is it possible to use python to get True Full Duplex on a Serial port?
Grant Edwards
grante at visi.com
Sat Aug 15 10:25:03 EDT 2009
On 2009-08-15, Hendrik van Rooyen <hendrik at microcorp.co.za> wrote:
> On Friday 14 August 2009 16:19:04 Grant Edwards wrote:
>
>> What platform are you using? I suppose it's possible that
>> there's something broken in the serial driver for that
>> particular hardware.
>
> Your experience seems to be exactly the opposite to mine - you
> are saying it should "just work" and I am seeing half duplex
> functionality.
If you're using Python's normal open()/read()/write() calls,
then that introduces all sorts of issues. I always use direct
OS calls os.open(), os.read(), os.write().
> Any comments from a Linux Guru?
Are you using python file operations open/read/write or OS
file-descriptor operations os.open/os.read/os.write?
--
Grant
More information about the Python-list
mailing list