c#如何发送USB(HID)控制传输 [英] c# How to send USB(HID) control transfer

查看:963
本文介绍了c#如何发送USB(HID)控制传输的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我是USB HID设备控制的新手。



我' m在访问端点0时遇到问题。

我的设备有3个端点0,1和3.

我只在设备中看到ep1和3的设备Windows Control Pannel的经理,并访问它们。

我没有从列表中看到ep0设备。



无论如何都有从c#应用程序访问ep0和读/写?



请帮帮我。

解决方案

阅读本文:

http://www.developerfusion.com / article / 84338 / making-usb-c-friendly / [ ^ ]



然后这篇文章有一个工作示例:

C#USB HID接口 [ ^ ]

Hi guys,

I am a newbie to USB HID device control.

I'm having a problem with getting an access to endpoint 0.
My device has 3 endpoints 0, 1 and 3.
I see the devices only for ep1 and 3 in Device manager of Windows Control Pannel, and access them.
I don't see the ep0 device from the list.

Is there anyway to get an access to ep0 and Read/Write from c# application?

please help me out.

解决方案

Read this:
http://www.developerfusion.com/article/84338/making-usb-c-friendly/[^]

Then this article has a working example:
C# USB HID Interface[^]


这篇关于c#如何发送USB(HID)控制传输的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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