获取USB Bulk设备的地址属性

编程入门 行业动态 更新时间:2024-10-11 11:20:16
本文介绍了获取USB Bulk设备的地址属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

你好

我正在用c#开发一个应用程序,该应用程序与充当BULK设备的ARM开发板进行交互.当我连接两个或多个时,除非我知道地址",否则无法知道我正在与哪个卡通信.财产.有没有办法获得 那个财产?可能是任何例子.实际上,我正在尝试在线示例,但是那些示例正在使用Win32_PnPEntity,但是该属性不可用.

I'm developing an application under c# which interacts with ARM development boards acting as BULK devices. When I connect two or more there is no way to know which card I'm talking to unless I know the "address" property. Is there any way to obtain that property? could be any example. Actually I was trying with the online example but those are working with Win32_PnPEntity but that property is not available.

还有其他方法可以获取该信息吗?

Is there any other way to get that information?

谢谢

推荐答案

嗨Osborm1205,

Hi Osborm1205,

谢谢您在这里发布.

对于您的问题,也许您可​​以参考MSDN文章'如何获取USB描述符'.

For your question, maybe you could refer to the MSDN article 'How to get USBdescriptors'.

与USB设备进行交互的主要任务之一是获取有关USB设备的信息.所有USB设备

One of the main tasks of interacting with a USB device is to get information about it. All USB devices

以称为描述符的断断续续的数据结构的形式提供信息.本文介绍Windows Store应用如何在端点,接口,配置和设备级别从设备获取描述符.

provide information in the form of severak data structures called descriptors. This article describes how a Windows Store app can get descriptors from the device at the endpoint, interface, configuration, and device level.

我希望这会对您有所帮助.

I hope this would be helpful to you.

如果还有其他问题,请随时与我们联系.

If you have something else, please feel free to contact us.

最好的问候,

温迪

更多推荐

获取USB Bulk设备的地址属性

本文发布于:2023-11-28 08:57:48,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1641759.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:属性   地址   设备   USB   Bulk

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!