On Sun, Mar 21, 2010 at 11:04:53AM +0100, Erik Ekman wrote:
Any ideas? It's really strange and I don't really know what else to do. I'm quite sure our binaries contain multiple successive null-bytes and their download is working great...
I had similar problems when developing an app in C that communicated with a GPS. I lost incoming bytes now and then (probably the same pattern as you see). Because of this and other reasons I switched to Python and pySerial which worked perfectly fine. I did never understand what happened either, I also tried to get as raw mode as possible.
Have you ever bothered to strace the python process in order to determine which termios settings it uses on the serial port? after all, the python jit will use the same system calls like any C program.
Regards, Harald