mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-19 21:03:48 -07:00
CHG: Patch for making PM3 compatible to MCU's CDC-Host libraries Thanks to @cjbrigato to tweak the cdc imp.
https://gist.github.com/cjbrigato/ef7fc18119f7c4900efbbef9bda0eb0f
This commit is contained in:
parent
5660920679
commit
44d9c722f0
1 changed files with 4 additions and 4 deletions
|
@ -57,7 +57,7 @@ const char devDescriptor[] = {
|
||||||
0x01,0x00, // Device release number (0001)
|
0x01,0x00, // Device release number (0001)
|
||||||
0x01, // iManufacturer // 0x01
|
0x01, // iManufacturer // 0x01
|
||||||
0x00, // iProduct
|
0x00, // iProduct
|
||||||
0x00, // SerialNumber
|
0xFD, // SerialNumber
|
||||||
0x01 // bNumConfigs
|
0x01 // bNumConfigs
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ const char cfgDescriptor[] = {
|
||||||
0x01, // CbConfigurationValue
|
0x01, // CbConfigurationValue
|
||||||
0x00, // CiConfiguration
|
0x00, // CiConfiguration
|
||||||
0xC0, // CbmAttributes 0xA0
|
0xC0, // CbmAttributes 0xA0
|
||||||
0x00, // CMaxPower
|
0xFA, // CMaxPower
|
||||||
|
|
||||||
/* Communication Class Interface Descriptor Requirement */
|
/* Communication Class Interface Descriptor Requirement */
|
||||||
0x09, // bLength
|
0x09, // bLength
|
||||||
|
@ -82,7 +82,7 @@ const char cfgDescriptor[] = {
|
||||||
0x01, // bNumEndpoints
|
0x01, // bNumEndpoints
|
||||||
0x02, // bInterfaceClass
|
0x02, // bInterfaceClass
|
||||||
0x02, // bInterfaceSubclass
|
0x02, // bInterfaceSubclass
|
||||||
0x00, // bInterfaceProtocol
|
0x01, // bInterfaceProtocol
|
||||||
0x00, // iInterface
|
0x00, // iInterface
|
||||||
|
|
||||||
/* Header Functional Descriptor */
|
/* Header Functional Descriptor */
|
||||||
|
@ -96,7 +96,7 @@ const char cfgDescriptor[] = {
|
||||||
0x04, // bFunctionLength
|
0x04, // bFunctionLength
|
||||||
0x24, // bDescriptor Type: CS_INTERFACE
|
0x24, // bDescriptor Type: CS_INTERFACE
|
||||||
0x02, // bDescriptor Subtype: ACM Func Desc
|
0x02, // bDescriptor Subtype: ACM Func Desc
|
||||||
0x00, // bmCapabilities
|
0x02, // bmCapabilities
|
||||||
|
|
||||||
/* Union Functional Descriptor */
|
/* Union Functional Descriptor */
|
||||||
0x05, // bFunctionLength
|
0x05, // bFunctionLength
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue