0x06, 0x00, 0xFF, // USAGE_PAGE (Vendor Defined Page 1)
0x09, 0x01, // USAGE (Vendor Usage 1)
0xA1, 0x01, // COLLECTION (Application)
0x09, 0x01, // USAGE (Vendor Usage 1)
0x75, 0x08, // REPORT_SIZE (8)
//0x95, 0x16, // DEFAULT REPORT COUNT (22)
0x25, 0xFF, // LOGICAL_MAXIMUM (255)
0x15, 0x00, // LOGICAL_MINIMUM (0)
// USB Boot Loader function Report description
// Report 1, get software version
0x85, 0x06, // REPORT_ID (1)
0x95, 18, // REPORT_COUNT (18)
0x09, 0x01, // USAGE (Vendor Usage 1)
0xB1, 0x02, // FEATURE (Data,Var,Abs)
// Report 2, get hardware version
0x85, 0x07, // REPORT_ID (2)
0x95, 18, // REPORT_COUNT (18)
0x09, 0x01, // USAGE (Vendor Usage 1)
0xB1, 0x02, // FEATURE (Data,Var,Abs)
// Report 1, get software version
0x85, 0x08, // REPORT_ID (1)
0x95, 18, // REPORT_COUNT (18)
0x09, 0x01, // USAGE (Vendor Usage 1)
0xB1, 0x02, // FEATURE (Data,Var,Abs)
0xC0
阅读(2217) | 评论(0) | 转发(0) |