为 Win7 64 开发串行端口嗅探器

发布于 2024-10-06 18:16:32 字数 169 浏览 0 评论 0原文

我想开发一个应用程序,能够打印 COM 端口上交换的所有数据(双向)而不阻塞端口,以便其他应用程序可以正常使用它。

经过一些研究,我发现了 DataReceivedEvent,但我认为您必须成为端口的所有者才能使用它。我需要的是类似的东西,但是对于接收和发送的数据,而不拥有端口。

有办法吗?

I want to develop an app that's able to print all of the data exchanged on a COM port (both ways) without blocking the port, so that other(s) app(s) can use it normally.

After some research I've found DataReceivedEvent, but I think that you've to be the owner of the port in order to use it. What I need it's something like that, but for data received and sended, without owning the port.

Is there a way?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

时光暖心i 2024-10-13 18:16:32

硬件分配器很可能是最简单的解决方案。请参阅这篇文章了解更多详细信息。

A hardware splitter will be the easiest solution most likely. See this post for addition details.

霓裳挽歌倾城醉 2024-10-13 18:16:32

如果你正在制作一个工具,现有的工具不起作用吗?

这在过去对我来说是一个救星:http://www.serial-port-monitor。 com/

If you're making a tool, do existing tools not work?

This has been a life saver for me in the past: http://www.serial-port-monitor.com/

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文