最終更新:2017-10-30 (月) 17:38:05 (2366d)  

usb_set_configuration
Top / usb_set_configuration

libusb-0.1/関数

  • Sets the active configuration of a device
  • int usb_set_configuration(usb_dev_handle *dev, int configuration);

Description

  • usb_set_configuration sets the active configuration of a device.
  • The configuration parameter is the value as specified in the descriptor field bConfigurationValue.
  • Returns 0 on success or < 0 on error.

OS別

Linux

drivers/usb/core/usb.h

  • Makes a particular device setting be current