libftdi Archives

Subject: Re: Data loss while ftdi_read_data() from FT232RL

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 23 May 2014 13:29:47 +0200
>>>>> "Venkatesh" == Venkatesh Shukla <venkatesh.shukla.eee11@xxxxxxxxxxxx> 
>>>>> writes:


    Venkatesh> The library libdivecomputer does use /dev/ttyUSB* efficiently
    Venkatesh> to extract data from the device. But I have to do the import
    Venkatesh> part on android platform. Android does not provide access to
    Venkatesh> USB devices as normal linux systems do, and native code is
    Venkatesh> preferred, I have decided to use libftdi for the import
    Venkatesh> part. It does indeed work on the android emulator after
    Venkatesh> getting requisite permissions but there is this data loss
    Venkatesh> error. Any way out.?

Does the libftdi programm compiled and run on the PC show the same problem?
If it shows the same problems, use the debugging possibilities offered by
the PC: strace,  ltrace and wireshare with the USB  debug file system.

Bye
-- 
Uwe Bonnes                bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread