-
the implementation of read had changed. i've now reverted it back to use select for all platform except linux (what it did in 2.4)
2009-10-27 00:48:02 UTC in Python Serial Port Extension
-
cliechti committed revision 350 to the Python Serial Port Extension SVN repository, changing 2 files.
2009-10-27 00:23:23 UTC in Python Serial Port Extension
-
yes. will be fixed in 2.5rc2 and up.
2009-10-26 23:59:05 UTC in Python Serial Port Extension
-
cliechti committed revision 349 to the Python Serial Port Extension SVN repository, changing 2 files.
2009-10-26 23:57:48 UTC in Python Serial Port Extension
-
Yes the documentation is for the version 2.5. In that release the write function does return the number of bytes.
i've added a note to the documentation (not yet uploaded).
2009-10-20 22:19:52 UTC in Python Serial Port Extension
-
cliechti committed revision 348 to the Python Serial Port Extension SVN repository, changing 1 files.
2009-10-20 22:18:28 UTC in Python Serial Port Extension
-
if you see the XON/XOFF characters displayed it probably is not using them for flow control. did you use the --xonxoff command line option? if it is still a problem,which OS are you using?
regarding XON/XOFF it should work in both directions (symmetrically and independently). when one end sees that the input buffer is being filled up, it sends an XOFF and then, when the buffer has space again...
2009-10-20 22:09:31 UTC in Python Serial Port Extension
-
i don't know of any example and i don't have hardware to test myself. when the port manifests as COMx on Windows respectively as tty{USB,S}x on linux for example, i'd guess that there are good chances.
reports if it works - or doesn't - are welcome.
2009-10-20 22:02:01 UTC in Python Serial Port Extension
-
So far i did not have problems on my 64 bit Linux machine. pySerial has unit tests sending binary data through a loop-back adapter and those worked fine.
1) do you have the correct baud rate and other port settings?
2) did you test the same on 32 bit linux?
3) is the c code using different port settings? pySerial sets the port up for binary transmission but maybe there is still a...
2009-10-20 21:58:47 UTC in Python Serial Port Extension
-
the reason may be that the package is actually called pyserial?
this one exists: http://pypi.python.org/simple/pyserial.
2009-10-20 21:47:12 UTC in Python Serial Port Extension