Hi,
I'm on my way creating a Rust binding to LibFT260 (while still learning Rust)..
I discovered the FT260 few weeks ago while searching something to replace the unavailable IC I was planning to use. it was a good thing because it suits better my needs. so at this time I downloaded all I found (doc & library) about FT260.
now I read a part of the doc and I'm beginning to use the library, but found inconsistencies.
first of all, I initially downloaded LibFT260 v1.1.5 but can't remember where and now only found v1.1.3 on the FT260 webpage !??
was it removed or is there another place to download the library ?
https://www.ftdichip.com/old2020/Products/ICs/FT260.htmlif I compare LibFT260.h from v1.1.3 and v1.1.5, the only difference is a new function in v1.1.5 :
FT260_SetFeatureboth versions still have a top description saying :
* @file LibFT260.h
*
* @author FTDI
* @date 2015-07-01
*
* Copyright © 2015 Future Technology Devices International Limited
* Company Confidential
*
* Rivision History:
* 1.0 - initial version
maybe you could update the version number in the comment according with the library version..
now a bigger problem, the "AN_395_User_Guide_for_LibFT260.pdf" documentation is really older than even the v1.1.3; several functions are missing in it.
the sample codes are not updated according to the library version (some error codes missing for example).
I haven't looked at all the sample codes, but for example in open_device.cpp lines 143 & 149, the comments seems to be inverted..
in the library there are functions to open by serial number or by product description in v1.1.3 or .5 libraries, but no function to read serial number or device description of the HID devices. would be great also to have function to modify them and then don't have to use FTProg (witch I have to test again later, but I had odd results at my rapid first try with FT260 - more about it later if I can confirm it..).
still working on it. will let you know of my progress..
thanks.
ffred