[prev in list] [next in list] [prev in thread] [next in thread] 

List:       libusb-devel
Subject:    Re: how to pretect usb from write
From:       Peter Stuge <peter () stuge ! se>
Date:       2013-03-14 10:00:45
Message-ID: 20130314100046.18472.qmail () stuge ! se
[Download RAW message or body]

xiaobaiso wrote:
> what should i do to make usb read-only while using libusb?

That's not possible.


> another question: In my source, I found the function always like this:
> libusb_handle_events,libusb_reset_device  ,but I saw the libusb api like
> this:usb_set_altinterface,usb_resetep.The words "lib" missed. 

usb_ functions are the libusb-0.1 API.

libusb_ functions are the libusb-1.0 API.

Please study the page https://libusb.org/wiki/APIs


//Peter

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
libusb-devel mailing list
libusb-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libusb-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic