libftdi Archives

Subject: Knowing how many ports the chip has

From: "E.S. Rosenberg" <es.rosenberg+libftdi.i2net@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 18 Apr 2014 14:20:07 +0300
Hi all,
Going through the documentation I'm having a hard time figuring out how to know what the number of ports on my ftdi board is (obviously I know that I have 4 but on the program level).

udev shows that there are 4 ports so it clearly has a way, but I'm scouring the libftdi API to no avail, there is a function to set what interface/port to use but no function to verify that the interface actually exists before trying to set it...

Any pointers would be appreciated.
Thanks,
Eli


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


Current Thread