[USB驱动] USB3.0 中Get BOS Descriptor的用法

[复制链接]
3795|0
 楼主| 163hxing 发表于 2018-5-2 11:23 | 显示全部楼层 |阅读模式
请问大家,在USB3.0 中 9.6.2 一小节里 介绍了 BOS descriptor,USB主机 通过 Get descriptor 请求来 获得 BOS descriptor. 同时,还定义了 deveice-level (device capabilities) descriptor。这一小节里提高,deveice-level (device capabilities) descriptor 不能 直接 获取,必须跟 BOS descriptor 一起返回。 那么 USB主机 在 发起获取 Get BOS descriptor 请求 时,device 是将 BOS descriptor  连同 deveice-level (device capabilities) descriptor 一起 返回给 USB主机 呢?  还是 USB 主机 要发起两次 Get descriptor 过程:第一次 USB主机 发起 获取 Get BOS descriptor请求,device  只返回 BOS descriptor 的内容,然后 USB 主机 获得 返回的 BOS descritor 中的 wTotalLength 数值,发起第二次 Get Bos descriptor, 但是数据长度为 wTotalLength 数值,BOS descriptor  连同 deveice-level (device capabilities) descriptor 一起 返回给 USB主机?
     不知道我理解的对不对,请高手 赐教,谢谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

4

主题

18

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部