Chinaunix首页 | 论坛 | 博客
  • 博客访问: 89701
  • 博文数量: 24
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 15
  • 用 户 组: 普通用户
  • 注册时间: 2016-03-28 14:12
文章分类

全部博文(24)

文章存档

2016年(24)

我的朋友

分类:

2016-05-25 20:21:37

Set Report
Allows the host to send a report to the device.
Offset Field Size Value Description
0 bmRequestType 1 21h
4..0: Recipient ...00001  Interface
6..5: Type .01.....  Class
7: Direction 0.......  Host-to-Device
1 bRequest 1 09h Set Report
2 wValue.LowByte 1 00h Report ID
3 wValue.HiByte 1 03h Feature Report
4 wIndex 2 0000h Interface
6 wLength 2 0040h Report Length

Get Report
Allows the host to receive a report via the control pipe.
Offset Field Size Value Description
0 bmRequestType 1 A1h
4..0: Recipient ...00001  Interface
6..5: Type .01.....  Class
7: Direction 1.......  Device-to-Host
1 bRequest 1 01h Get Report
2 wValue.LowByte 1 00h Report ID
3 wValue.HiByte 1 03h Feature Report
4 wIndex 2 0000h Interface
6 wLength 2 0040h Report Length

阅读(5341) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~