Public Member Functions

Usb::Interface Class Reference

Collaboration diagram for Usb::Interface:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool SetAltInterface (int altSetting)
 Uses the usb_set_altinterface() function to set the currently selected USB alternate setting of the current interface.

Detailed Description

Definition at line 303 of file usbwrap.h.


Member Function Documentation

bool Usb::Interface::SetAltInterface ( int  altSetting  ) 

Uses the usb_set_altinterface() function to set the currently selected USB alternate setting of the current interface.

Sets the currently selected USB alternate setting of the current interface.

The iface parameter passed in should be a value specified in the bAlternateSetting descriptor field. If unsuccessful, returns false.

Definition at line 510 of file usbwrap_libusb.cc.


The documentation for this class was generated from the following files: