如何通过本地套接字连接正确连接到 Optivote 设备?

发布于 2024-09-28 15:16:39 字数 480 浏览 1 评论 0原文

Optivote IR8 基本上是一个带有一堆遥控器的投票系统,可以将红外信号发送到接收器,接收器通过 USB 端口连接到计算机。我正在尝试用 Flash 编写自己的小软件。

Optivote 接收器通过虚拟串行端口与软件通信。当我通过 PuTTY 连接到该端口时,只要按下遥控器上的任何按钮,我就可以看到信号。

虽然,当我通过 Serproxy 连接到该端口时(它将套接字连接中继到串行端口连接),遥控器似乎不起作用。我每隔半秒左右就会收到相同的信号,一遍又一遍。我猜接收者正在尝试以这种方式进行某种握手。

我不明白的是 PuTTY 做了什么而 Serproxy 没有使串行端口连接工作。也许有一些正确的方法可以在我连接时告诉另一端?

(我使用Serproxy,因为Flash应用程序无法直接连接到串行端口,但支持套接字连接)

Optivote IR8 is basically a voting system with a bunch of remote controllers, which can send IR signals to a receiver, which is connected to a computer through a USB port. And I'm trying to write my own little software for that with Flash.

Optivote receiver communicates with software through a virtual serial port. When I connect to that port through PuTTY, I can see signals whenever I press any button on the remote controllers.

Although, when I connect to that port through Serproxy (which relays a socket connection to a serial port connection), the remote controllers don't seem to work. I just get the same signal every half a second or so, over and over. I'm guessing the receiver is trying to make some kind of handshake this way.

The thing I can't figure out is what PuTTY does that Serproxy doesn't to make the serial port connection work. Maybe there's some proper way to tell the other end when I connect?

(I use Serproxy, because Flash applications cannot connect to a serial port directly, but supports socket connections)

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

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

发布评论

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

评论(1

吃颗糖壮壮胆 2024-10-05 15:16:39

我发现我无法让 serproxy 工作,直到我遇到一个新版本

http: //code.google.com/p/tinkerit/wiki/TinkerProxy

I found I could not get serproxy to work, that was until I came across a new version

http://code.google.com/p/tinkerit/wiki/TinkerProxy

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