Using Telnet to issue IR Commands

Software related support

Moderator: marcus

Using Telnet to issue IR Commands

Postby ccarpenter1 » Sun 28. Sep 2008, 16:16

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
ccarpenter1
 
Posts: 10
Joined: Mon 8. Sep 2008, 02:49

Re: Using Telnet to issue IR Commands

Postby IRTrans » Sun 28. Sep 2008, 19:44

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
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32


Return to Software

Who is online

Users browsing this forum: No registered users and 62 guests