[英]Communicating with USB port with C# and figure out protocol
Does anyone know of any c# code example of listening to and logging the communication to and from a USB device?有谁知道任何 c# 代码示例,用于监听和记录与 USB 设备之间的通信?
My problem is as follows: I have a Weather Station (265 NE) which I connect to the computer via USB.我的问题如下:我有一个气象站(265 NE),我通过 USB 连接到计算机。 The provided application for transfering data from the weather station i quite crappy.
提供的从气象站传输数据的应用程序非常糟糕。 Now I'd like to write an application that handles the communication for me.
现在我想编写一个为我处理通信的应用程序。 Therefor I need some code example showing how to figure out how the weather station and the computer communicates and then reproduce the communication from my own piece of code.
因此,我需要一些代码示例来展示如何弄清楚气象站和计算机如何通信,然后从我自己的代码中重现通信。
I've googled a lot to find an answer to this but with no luck.我已经用谷歌搜索了很多以找到答案,但没有运气。
Cheers干杯
Martin马丁
Seems like this tutorial might be a good start;似乎本教程可能是一个好的开始;
http://www.developerfusion.com/article/84338/making-usb-c-friendly/ http://www.developerfusion.com/article/84338/making-usb-c-friendly/
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.