libftdi Archives

Subject: Re: ftdipp

From: Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 7 Apr 2009 17:29:24 +0200
Hello Chris,

On Friday, 3. April 2009 18:48:47 Leahy, Chris M. (Xetron) wrote:
> I've been working on a project that uses libftdi. Recently I decided to
> try the ftdipp bindings and I had a few questions about them.
>
> In Context::open(int vendor, ...) ftdi_usb_open or ftdi_usb_open_desc is
> called, then ftdi_usb_open_dev is called. ftdi_usb_open_dev is called by
> both ftdi_usb_open and ftdi_usb_open_desc so is there any reason to call
> it twice?
>
> In both versions of Context::open, get_strings is called after the
> device is opened. This seems to be a bug as the documentation for
> ftdi_usb_get_strings says that ftdi_usb_get_strings should only be used
> with ftdi_usb_find_all because it closes the internal "usb_dev" after
> use.

Rumor has it the author of the FTDI++ wrapper recently joined the list ;-)

We've just relicensed the wrapper as GPLv2 + linking exception
to allow proper usage of the library in C++.

Regards,
Thomas


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

Current Thread