Chinaunix首页 | 论坛 | 博客
  • 博客访问: 413970
  • 博文数量: 73
  • 博客积分: 3120
  • 博客等级: 中校
  • 技术积分: 785
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-20 12:26
文章分类

全部博文(73)

文章存档

2013年(4)

2012年(10)

2011年(32)

2010年(27)

分类: WINDOWS

2011-05-12 16:58:17

 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) |
给主人留下些什么吧!~~