split interfaces?

19 views
Skip to first unread message

ulao

unread,
Jan 20, 2024, 12:42:17 PMJan 20
to LUFA Library Support List
what is this and does lufa support it?

//Interface Descriptor: 1
0x09, //bLength
0x04, //bDescriptorType
0x01, //bInterfaceNumber
0x00, //bAlternateSetting
0x00, //bNumEndPoints
0xFF, //bInterfaceClass      (Vendor specific)
0x47, //bInterfaceSubClass  
0xD0, //bInterfaceProtocol  
0x00, //iInterface

//Interface Descriptor: 1/1
0x09, //bLength
0x04, //bDescriptorType
0x01, //bInterfaceNumber
0x01, //bAlternateSetting
0x02, //bNumEndPoints
0xFF, //bInterfaceClass      (Vendor specific)
0x47, //bInterfaceSubClass  
0xD0, //bInterfaceProtocol  
0x00, //iInterface

to make this enumerate I needed to removed the first.  and change the AlternateSetting
 
//Interface Descriptor: 1/1
0x09, //bLength
0x04, //bDescriptorType
0x01, //bInterfaceNumber
0x00, //bAlternateSetting
0x02, //bNumEndPoints
0xFF, //bInterfaceClass      (Vendor specific)
0x47, //bInterfaceSubClass  
0xD0, //bInterfaceProtocol  
0x00, //iInterface

otherwise windows gets errors enumerating the descriptor. 


Reply all
Reply to author
Forward
0 new messages