Skip to content

Instantly share code, notes, and snippets.

@tmk
Created July 17, 2021 14:05
Show Gist options
  • Save tmk/787a00f23874d7d1e2bf3a64618eb8c6 to your computer and use it in GitHub Desktop.
Save tmk/787a00f23874d7d1e2bf3a64618eb8c6 to your computer and use it in GitHub Desktop.
Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 005 Device 127: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 224 Wireless
bDeviceSubClass 1 Radio Frequency
bDeviceProtocol 1 Bluetooth
bMaxPacketSize0 64
idVendor 0x0a12 Cambridge Silicon Radio, Ltd
idProduct 0x0001 Bluetooth Dongle (HCI mode)
bcdDevice 52.76
iManufacturer 0
iProduct 0
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x00b1
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 3
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0010 1x 16 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0000 1x 0 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0009 1x 9 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0011 1x 17 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 3
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0019 1x 25 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 4
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0021 1x 33 bytes
bInterval 1
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 5
bNumEndpoints 2
bInterfaceClass 224 Wireless
bInterfaceSubClass 1 Radio Frequency
bInterfaceProtocol 1 Bluetooth
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 1
Transfer Type Isochronous
Synch Type None
Usage Type Data
wMaxPacketSize 0x0031 1x 49 bytes
bInterval 1
////////////////////////////////////////////////////////////////////////////////
// USB_desc_dump
// Address: 01
// Lowspeed: 00
// Devicer dump:
12 01 00 02 E0 01 01 40 12 0A 01 00 76 52 00 00
00 01
// Device:
bLength: 12
bDescriptorType: 01
bcdUSB: 0200
bDeviceClass: E0
bDeviceSubClass: 01
bDeviceProtocol: 01
bMaxPacketSize0: 40
idVendor: 0A12
idProduct: 0001
bcdDevice: 5276
iManufacturer: 00
iProduct: 00
iSerialNumber: 00
bNumConfigurations: 01
// Config0 dump: len: 00B1
09 02 B1 00 02 01 00 80 32 09 04 00 00 03 E0 01
01 00 07 05 81 03 10 00 01 07 05 02 02 40 00 01
07 05 82 02 40 00 01 09 04 01 00 02 E0 01 01 00
07 05 03 01 00 00 01 07 05 83 01 00 00 01 09 04
01 01 02 E0 01 01 00 07 05 03 01 09 00 01 07 05
83 01 09 00 01 09 04 01 02 02 E0 01 01 00 07 05
03 01 11 00 01 07 05 83 01 11 00 01 09 04 01 03
02 E0 01 01 00 07 05 03 01 19 00 01 07 05 83 01
19 00 01 09 04 01 04 02 E0 01 01 00 07 05 03 01
21 00 01 07 05 83 01 21 00 01 09 04 01 05 02 E0
01 01 00 07 05 03 01 31 00 01 07 05 83 01 31 00
01
// Config0:
bLength: 09
bDescriptorType: 02
wTotalLength: 00B1
bNumInterfaces: 02
bConfigurationValue: 01
iConfiguration: 00
bmAttributes: 80
bMaxPower: 32
// Interface0.0:
bLength: 09
bDescriptorType: 04
bInterfaceNumber: 00
bAlternateSetting: 00
bNumEndpoints: 03
bInterfaceClass: E0
bInterfaceSubClass: 01
bInterfaceProtocol: 01
iInterface: 00
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 81
bmAttributes: 03
wMaxPacketSize: 0010
bInterval: 01
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 02
bmAttributes: 02
wMaxPacketSize: 0040
bInterval: 01
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 82
bmAttributes: 02
wMaxPacketSize: 0040
bInterval: 01
// Interface1.0:
bLength: 09
bDescriptorType: 04
bInterfaceNumber: 01
bAlternateSetting: 00
bNumEndpoints: 02
bInterfaceClass: E0
bInterfaceSubClass: 01
bInterfaceProtocol: 01
iInterface: 00
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 03
bmAttributes: 01
wMaxPacketSize: 0000
bInterval: 01
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 83
bmAttributes: 01
wMaxPacketSize: 0000
bInterval: 01
// Interface1.1:
bLength: 09
bDescriptorType: 04
bInterfaceNumber: 01
bAlternateSetting: 01
bNumEndpoints: 02
bInterfaceClass: E0
bInterfaceSubClass: 01
bInterfaceProtocol: 01
iInterface: 00
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 03
bmAttributes: 01
wMaxPacketSize: 0009
bInterval: 01
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 83
bmAttributes: 01
wMaxPacketSize: 0009
bInterval: 01
// Interface1.2:
bLength: 09
bDescriptorType: 04
bInterfaceNumber: 01
bAlternateSetting: 02
bNumEndpoints: 02
bInterfaceClass: E0
bInterfaceSubClass: 01
bInterfaceProtocol: 01
iInterface: 00
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 03
bmAttributes: 01
wMaxPacketSize: 0011
bInterval: 01
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 83
bmAttributes: 01
wMaxPacketSize: 0011
bInterval: 01
// Interface1.3:
bLength: 09
bDescriptorType: 04
bInterfaceNumber: 01
bAlternateSetting: 03
bNumEndpoints: 02
bInterfaceClass: E0
bInterfaceSubClass: 01
bInterfaceProtocol: 01
iInterface: 00
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 03
bmAttributes: 01
wMaxPacketSize: 0019
bInterval: 01
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 83
bmAttributes: 01
wMaxPacketSize: 0019
bInterval: 01
// Interface1.4:
bLength: 09
bDescriptorType: 04
bInterfaceNumber: 01
bAlternateSetting: 04
bNumEndpoints: 02
bInterfaceClass: E0
bInterfaceSubClass: 01
bInterfaceProtocol: 01
iInterface: 00
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 03
bmAttributes: 01
wMaxPacketSize: 0021
bInterval: 01
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 83
bmAttributes: 01
wMaxPacketSize: 0021
bInterval: 01
// Interface1.5:
bLength: 09
bDescriptorType: 04
bInterfaceNumber: 01
bAlternateSetting: 05
bNumEndpoints: 02
bInterfaceClass: E0
bInterfaceSubClass: 01
bInterfaceProtocol: 01
iInterface: 00
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 03
bmAttributes: 01
wMaxPacketSize: 0031
bInterval: 01
// Endpoint:
bLength: 07
bDescriptorType: 05
bEndpointAddress: 83
bmAttributes: 01
wMaxPacketSize: 0031
bInterval: 01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment