libftdi Archives

Subject: open from device string

From: "Axelrod, Ben" <baxelrod@xxxxxxxxxx>
To: "'libftdi@xxxxxxxxxxxxxxxxxxxxxxx'" <libftdi@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Tue, 10 Jun 2014 14:19:23 +0000

I see a number of functions to open the ftdi interface based on various things.  How would I go about opening the ftdi interface based on a user input string such as “/dev/ttyUSB0” or similar alias?  I only need to do this on Linux, specifically Ubuntu. 

 

If I can’t do this directly through the ftdi interface, what is the easiest way to use other tools to convert “/dev/ttyUSB0” into “0403:6001” through code?

 

Thanks,

Ben

 

Ben Axelrod

Sr. Robotics Software Engineer

iRobot Corporation

8 Crosby Drive, M/S 8-1

Bedford, MA 01730

(781) 430-3315

baxelrod@xxxxxxxxxx

 



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


Current Thread