Tried the new library with my app.
It seems to be a mistake in the parameteres order in SetParameters.
USBser.SetParameters(iBaudRate,USBser.DATABITS_8, USBser.STOPBITS_1,USBser.PARITY_NONE)
Return
"An errror...."
"...java.lang.IllegalArgumentException: Unknown stopBits value: 8
If I reverse Stop bits with Data bits then is ok.
The library is working better than the one used before with FT232.
For a 400 bytes data chunk everything is ok.
If I send a command which expects 4000 bytes in return, the driver just hangs and nothing received ater that (not even 'short' commands) till a full reinitialization of the app.
Is so close....
Thank you,
Dan