hi, has anyone been able to send RS232 commands via TCP?
The serial pluging only does com ports.
I can use Hyperterminal to send commands ok; but Hyperterminal does not work on the command line.
thanks
CaM
Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.
RS232 via TCP
Re: RS232 via TCP
You lost me there.. send RS232 commands via TCP? Do you have an ethernet <-> Serial converter or..?
If you do then it's just a matter of making a TCP client script that knows how to talk to your device, it should be pretty simple since I suspect this is just a straight forward telnet type deal. Take a look at the vlc plugin, zoom player plugin, lirc client, web server or any of the other plugins that use tcp/ip for some examples. It's not that difficult but you'll have to program it yourself.
Keywords for what you are looking are: python, asynchat, asyncore.
PS. Depending on how simple your protocol is might even get away with using something like netcat and piping some data through it for a super-simple command line implementation. (though the the real EG plugin will be much nicer if you decide to go that way)
-jinxdone
If you do then it's just a matter of making a TCP client script that knows how to talk to your device, it should be pretty simple since I suspect this is just a straight forward telnet type deal. Take a look at the vlc plugin, zoom player plugin, lirc client, web server or any of the other plugins that use tcp/ip for some examples. It's not that difficult but you'll have to program it yourself.
Keywords for what you are looking are: python, asynchat, asyncore.
PS. Depending on how simple your protocol is might even get away with using something like netcat and piping some data through it for a super-simple command line implementation. (though the the real EG plugin will be much nicer if you decide to go that way)
-jinxdone
Re: RS232 via TCP
hi, my projector allows control via TCP.
This works the same way as serial (RS232) but I specify an IP and port instead of a COM.
I will do some coding
thanks for your help.
CaM
This works the same way as serial (RS232) but I specify an IP and port instead of a COM.
I will do some coding
thanks for your help.
CaM
Re: RS232 via TCP
That would be called... telnet, or at least a dumb text socket. I do not see a plugin for this currently, however it should be fairly trivial to write a plugin for that.CaM wrote:hi, has anyone been able to send RS232 commands via TCP?
The serial pluging only does com ports.
I can use Hyperterminal to send commands ok; but Hyperterminal does not work on the command line.