struct DeviceDescriptor

Defined at line 127 of file fidling/gen/sdk/fidl/fuchsia.hardware.usb.peripheral/fuchsia.hardware.usb.peripheral/cpp/fidl/fuchsia.hardware.usb.peripheral/cpp/wire_types.h

The fields in DeviceDescriptor match those in usb_descriptor_t in the USB specification,

except for the string fields.

Public Members

uint16_t bcd_usb
uint8_t b_device_class
uint8_t b_device_sub_class
uint8_t b_device_protocol
uint8_t b_max_packet_size0
uint16_t id_vendor
uint16_t id_product
uint16_t bcd_device
StringView manufacturer
StringView product
StringView serial
uint8_t b_num_configurations