Skip to content

Instantly share code, notes, and snippets.

@GXTX
Created August 3, 2024 19:24
Show Gist options
  • Save GXTX/5666dade1392f82b1ca0d148912530f1 to your computer and use it in GitHub Desktop.
Save GXTX/5666dade1392f82b1ca0d148912530f1 to your computer and use it in GitHub Desktop.
Connect device =>
New full-speed device address 3 assigned.
Aanufacturer:
[Device Descriptor]
----------------------------------------------
Length = 18
DescriptorType = 0x01
USB version = 1.00
Vendor:Product = 0ca3:0003
MaxPacketSize0 = 64
NumConfigurations = 1
Device version = 1.03
Device Class:SubClass:Protocol = 60:01:00
[Configuration Descriptor]
----------------------------------------------
Length = 9
DescriptorType = 02
wTotalLength = 60
bNumInterfaces = 1
bConfigurationValue = 1
iConfiguration = 0
bmAttributes = 0x80
MaxPower = 150
[Interface Descriptor]
----------------------------------------------
Length = 9
DescriptorType = 04
bInterfaceNumber = 0
bAlternateSetting = 0
bNumEndpoints = 6
bInterfaceClass = 0xff
bInterfaceSubClass = 0x00
bInterfaceProtocol = 0x00
iInterface = 0
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x01
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x02
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x03
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x81
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x82
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x83
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 0
bSynchAddress = 0
Connect device =>
New full-speed device address 4 assigned.
Aanufacturer:
[Device Descriptor]
----------------------------------------------
Length = 18
DescriptorType = 0x01
USB version = 1.00
Vendor:Product = 0ca3:0002
MaxPacketSize0 = 64
NumConfigurations = 1
Device version = 1.03
Device Class:SubClass:Protocol = 60:00:00
[Configuration Descriptor]
----------------------------------------------
Length = 9
DescriptorType = 02
wTotalLength = 88
bNumInterfaces = 1
bConfigurationValue = 1
iConfiguration = 0
bmAttributes = 0x80
MaxPower = 150
[Interface Descriptor]
----------------------------------------------
Length = 9
DescriptorType = 04
bInterfaceNumber = 0
bAlternateSetting = 0
bNumEndpoints = 10
bInterfaceClass = 0xff
bInterfaceSubClass = 0x00
bInterfaceProtocol = 0x00
iInterface = 0
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x01
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x02
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x03
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x04
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x05
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x81
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x82
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x83
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x84
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 7
bSynchAddress = 5
[Endpoint Descriptor]
----------------------------------------------
Length = 7
DescriptorType = 05
bEndpointAddress = 0x85
bmAttributes = 0x02
wMaxPacketSize = 64
bInterval = 0
bRefresh = 0
bSynchAddress = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment