Use USB control command for version, remove debugging code.
Time out waiting on command responses over serial.
Restore write_bytes for serial controllers.
Increase serial connection wait time (for rfcomm Bluetooth socket).
Remove unused import.