Method

GUsbDeviceget_spec

Declaration

guint16
g_usb_device_get_spec (
  GUsbDevice* self
)

Description

Gets the BCD specification revision for the device. For example, 0x0110 indicates USB 1.1 and 0x0320 indicates USB 3.2

Available since:0.3.1

Return value

Returns: guint16
 

A specification revision in BCD format.