BodgeUSB.Descriptor.Device (BodgeUSB v0.1.1)

Copy Markdown View Source

Parsed device descriptor with its configurations.

Summary

Types

t()

@type t() :: %BodgeUSB.Descriptor.Device{
  class: 0..255,
  configurations: [BodgeUSB.Descriptor.Configuration.t()],
  device_version: non_neg_integer(),
  manufacturer_index: 0..255,
  max_packet_size0: non_neg_integer(),
  num_configurations: 0..255,
  product_id: 0..65535,
  product_index: 0..255,
  protocol: 0..255,
  serial_number_index: 0..255,
  subclass: 0..255,
  usb_version: non_neg_integer(),
  vendor_id: 0..65535
}