Skip to content

v0.1.11

Compare
Choose a tag to compare
@kevinmehall kevinmehall released this 03 Nov 21:45
· 76 commits to main since this release

Fixes

  • macOS: Fix Device::set_configuration and Device::reset (#88)
  • macOS: Fix detection of TransferError::Stall (#88)

New Features

  • Hotplug events: nusb::watch_devices() API for device connect / disconnect event notifications, supported on Windows, macOS, and Linux. (#20)
  • Device::from_fd for wrapping an already-opened usbfs file descriptor. This can be used with the Android APIs for requesting USB device permissions on a non-rooted Android device. (#80)
  • Device::detach_kernel_driver and Device::attach_kernel_driver for controlling kernel drivers on Linux without claiming an interface (#65)

Contributors

@kevinmehall @TroyNeubauer @TheButlah