libftdi Archives

Subject: Re: 1.0: Allow to search for all FTDI standard VID/PID

From: Uwe Bonnes <bon@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Mon, 4 Jul 2011 14:27:29 +0200
>>>>> "Thomas" == Thomas Jarosch <thomas.jarosch@xxxxxxxxxxxxx> writes:

    Thomas> On Tuesday, 28. June 2011 17:04:43 Uwe Bonnes wrote:
    >> Allow to search for all FTDI standard VID/PID by passing VID:PID 0:0
    >> to ftdi_usb_find_all

    Thomas> Applied, thanks.

    Thomas> The code will also "work" if VID or PID is NULL only.

Is any VID/PID == 0 valid? Should we make the condition VID==0 AND PID==0?

-- 
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