Skip to content

Instantly share code, notes, and snippets.

@sjorge
Created October 21, 2020 20:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjorge/286d4386962cac531b7a76e2d1ff9a1e to your computer and use it in GitHub Desktop.
Save sjorge/286d4386962cac531b7a76e2d1ff9a1e to your computer and use it in GitHub Desktop.
9 usb_mid 3 device 1.1 10c4.ea60 slae.sh cc2652rb stick - slaesh's iot stuff
Device Descriptor
{
bLength = 0x12
bDescriptorType = 0x1
bcdUSB = 0x110
bDeviceClass = 0
bDeviceSubClass = 0
bDeviceProtocol = 0
bMaxPacketSize0 = 0x40
idVendor = 0x10c4
idProduct = 0xea60
bcdDevice = 0x100
iManufacturer = 0x1
iProduct = 0x2
iSerialNumber = 0x3
bNumConfigurations = 0x1
}
-- Active Config Index 0
Configuration Descriptor
{
bLength = 0x9
bDescriptorType = 0x2
wTotalLength = 0x20
bNumInterfaces = 0x1
bConfigurationValue = 0x1
iConfiguration = 0x0
bmAttributes = 0x80
bMaxPower = 0x32
}
Interface Descriptor
{
bLength = 0x9
bDescriptorType = 0x4
bInterfaceNumber = 0x0
bAlternateSetting = 0x0
bNumEndpoints = 0x2
bInterfaceClass = 0xff
bInterfaceSubClass = 0x0
bInterfaceProtocol = 0x0
iInterface = 0x2
}
Endpoint Descriptor
{
bLength = 0x7
bDescriptorType = 0x5
bEndpointAddress = 0x81
bmAttributes = 0x2
wMaxPacketSize = 0x40
bInterval = 0x0
}
Endpoint Descriptor
{
bLength = 0x7
bDescriptorType = 0x5
bEndpointAddress = 0x1
bmAttributes = 0x2
wMaxPacketSize = 0x40
bInterval = 0x0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment