开发者

How to connect properly to an Optivote device through a local socket connection?

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 pres开发者_Python百科s 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)


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜