adafruit_usb_host_descriptors

Helpers for getting USB descriptors

  • Author(s): Scott Shawcroft

adafruit_usb_host_descriptors.get_configuration_descriptor(device, index)

Fetch the configuration descriptor, its associated descriptors and return it.

adafruit_usb_host_descriptors.get_descriptor(device, desc_type, index, buf, language_id=0)

Fetch the descriptor from the device into buf.

adafruit_usb_host_descriptors.get_device_descriptor(device)

Fetch the device descriptor and return it.