Top | ![]() |
![]() |
![]() |
![]() |
FuUsbDevice * | fu_usb_device_new () |
guint16 | fu_usb_device_get_vid () |
guint16 | fu_usb_device_get_pid () |
GUsbDevice * | fu_usb_device_get_dev () |
void | fu_usb_device_set_dev () |
gboolean | fu_usb_device_is_open () |
#define | FU_TYPE_USB_DEVICE |
#define | HID_REPORT_GET |
#define | HID_REPORT_SET |
#define | HID_REPORT_TYPE_INPUT |
#define | HID_REPORT_TYPE_OUTPUT |
#define | HID_REPORT_TYPE_FEATURE |
#define | HID_FEATURE |
struct | FuUsbDeviceClass |
FuUsbDevice |
FuUsbDevice *
fu_usb_device_new (GUsbDevice *usb_device
);
Creates a new FuUsbDevice.
Since: 1.0.2
guint16
fu_usb_device_get_vid (FuUsbDevice *self
);
Gets the device vendor code.
Since: 1.1.2
guint16
fu_usb_device_get_pid (FuUsbDevice *self
);
Gets the device product code.
Since: 1.1.2
GUsbDevice *
fu_usb_device_get_dev (FuUsbDevice *device
);
Gets the GUsbDevice.
Since: 1.0.2
void fu_usb_device_set_dev (FuUsbDevice *device
,GUsbDevice *usb_device
);
Sets the GUsbDevice to use.
Since: 1.0.2
gboolean
fu_usb_device_is_open (FuUsbDevice *device
);
Finds out if a USB device is currently open.
Since: 1.0.3