Page 1 of 1

Using Telnet to issue IR Commands

PostPosted: Sun 28. Sep 2008, 16:16
by ccarpenter1
I am trying to learn the proper syntax for issuing IR commands to the Ethernet modules using TCP port 21000.

Here is what I am doing.

c:\> telnet 192.168.1.41 21000
snd hs2_signals,51,l=I,p=21000



When I do this sequence, I properly connect to TCP port 21000, but the snd command does not seem to do anything.

Can you tell what I am doing wrong?

Thanks!
Chuck

Re: Using Telnet to issue IR Commands

PostPosted: Sun 28. Sep 2008, 19:44
by IRTrans
Hi,
there are three things you need to change:

1. After connecting you will need to activate the ASCII mode by sending "ASCI" (upper case).
2. The send command has to be preceded by an "A": Asnd ...
3. The port option is not needed and supported for TCP, it is only needed for UDP.

I am not sure if that works through telnet as telnet might use additional internal protocol options.
Some telnet clients (like putty) also support a RAW mode which does not use any additional protocols.

IRTrans