On Wed, Jul 10, 2013 at 1:50 PM, igx deepak <igx...@gmail.com> wrote:
> Hi All,
>
> If the function libusb_open_device_with_vid_pid() is used for a Composite
> device exposing multiple interfaces, will it open the composite device or a
> particular interface??

Please read the libusbx API documents.
Ref:
http://libusbx.sourceforge.net/api-1.0/group__dev.html

As the function name tells you, it opens a device. Take note this
does not matter too much for most of the applications, the thing
which really matters is the followed libusb_claim_interface() call
where you claim a particular interface of interests and then talk
to the endpoints (or pipes) associated with that interface.


-- 
Xiaofan

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
libusbx-devel mailing list
libusbx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusbx-devel

Reply via email to