write hangs on generic command
Brought to you by:
cliechti
I start by opening a serial port with no settings (the device doesn't require configuration, it's usb).
I can send this command without a problem (runs correctly)...
But when I send this command, the write hangs and the command is never sent...
What could be causing this? It's just a string... The only visible difference is that the string is longer.
Ticket moved from /p/pyserial/bugs/165/
difficult to guess. is it a micro controller board with USB-serial emulation? maybe that blocks on long or multiple packets.
does it work with terminal applications (pySerial's miniterm or any other "real" terminal application)?
maybe a monitoring of the serial port or USB traffic could give some insight where it hangs.
there might be driver issues, depending on the type of serial port emulation (CDC/ACM, custom protocols) and the operating system. => which operating system do you use and what driver type (CDC, other)?