Method

FwupdPluginHidDeviceset_interface

Declaration [src]

void
fu_hid_device_set_interface (
  FuHidDevice* self,
  guint8 interface
)

Description [src]

Sets the HID USB interface number.

In most cases the HID interface is auto-detected, but this function can be used where there are multiple HID interfaces or where the device USB interface descriptor is invalid.

Available since:1.4.0

Parameters

interface guint8
 

An interface number, e.g. 0x03