2008/12/4 Hendrik Sattler <[EMAIL PROTECTED]>:

> How does lsusb show the device:port combination then? Doesn't that also
> use libusb? Something like that would be nice to address devices without
> prior enumeration.

I had a quick look and it seems to be using bus->dirname and
dev->filename properties of libusb bus and device structures. This is
undocumented and non-portable.

> OBEX_EnumerateInterfaces() and OBEX_GetInterfacByIndex() could be one
> possibility.

Sure.

> Something like the -s option of lsusb should be another one:
> OBEX_GetInterfaceByAddress()
> Is this possible?

I don't think so - it would only work on Linux.

-- 
Alexander

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Openobex-users mailing list
Openobex-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/openobex-users

Reply via email to