获取USB Bulk设备的地址属性 [英] Get address property for USB Bulk device

查看:77
本文介绍了获取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文章'.

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设备的地址属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆