libftdi Archives

Subject: Any reason not to expose iManufacturer?

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 17 May 2010 16:08:03 +0200
Hello,

int ftdi_usb_open_desc_index(struct ftdi_context *ftdi, int vendor, 
    int product, const char* description, const char* serial, 
    unsigned int index)

doesn't expose and allow a check for the iManufacture String. Any reason not
to do so? And if it does make sense how to introduce the additional call
parameter? With another function like

int ftdi_usb_open_full_index(struct ftdi_context *ftdi, int vendor, 
    int product, const char* manufacturer, const char* description, 
    const char* serial, unsigned int index)

or by extending the existing call?
 
-- 
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