Page 1 of 1

Illegal UDP Command

PostPosted: Mon 22. Mar 2010, 04:46
by sambuddy
Hello All,
I am currently trying to send a command to the irserver with no success. I am sending the command using udp. I have used this method with irtrans XL before with no problem but now that i am using an irtrans (ethernet), the ir server is telling me i am sending it an illegal command.
The command i am sending it is
"snd austar,austar,lE,b0,p21001"

Can anyone tell me why this would be wrong?
Are the commands different between the ethernet and the xl versions?

Thanks
Stuart

Re: Illegal UDP Command

PostPosted: Mon 22. Mar 2010, 09:37
by IRTrans
Hi,
this interface is only fully supported when you are directly talking to the device.

If you have a device without Flash memory the UDP interface through the irserver is not fully supported.
Sending in the format "snd <remote>,<command>" should work though.

IRTrans

Re: Illegal UDP Command

PostPosted: Mon 22. Mar 2010, 10:41
by sambuddy
<snip>
this interface is only fully supported when you are directly talking to the device.
<snip>
Is this only for the Ethernet version? because it does work through the irserver when talking to an XL version.

<snip>
If you have a device without Flash memory the UDP interface through the irserver is not fully supported.
Sending in the format "snd <remote>,<command>" should work though.
<snip>
The device i am using does have flash memory...BUT...I currently only have one device connected to the irserver (the ethernet version). I read on another thread that the "b0" option is only valid when you have more than one device connected to the irserver, Is this correct?
Thanks
Stuart

Re: Illegal UDP Command

PostPosted: Mon 22. Mar 2010, 17:03
by IRTrans
Hi Stuart,
hmm, talking to the XL or the standard Ethernet device through the irserver should not make any difference at all. Both devices are controlled the same way by the irserver.

I am not sure if the UDP interface of the irserver does support the "-b0" option.

Please try it without any options first and then try the other options step by step.

IRTrans

Re: Illegal UDP Command

PostPosted: Sun 23. Jan 2011, 15:47
by ero-baka
Hi,

I'm trying to send data to irserver using a TCP connection. I'm programming in java.
I try to send an infrared command like that: "0011000000000"
What do i have to send to irserver?
I'm getting the following error:

IRTRANS TCP/IP Socket connection request
IRTRANS TCP/IP Client 0 accepted from 127.0.0.1
IRTRANS TCP/IP Socket connection request
IRTRANS TCP/IP Client 1 accepted from 127.0.0.1
Illegal Network command [115]
Illegal Network command [110]
Illegal Network command [100]
Netcommand Size: 112/13
ExecuteNetCommand: Illegal Protocol Version 8084644.32 (should be 2.9)
Client [0] disconnect
Client [1] disconnect

do i have to send something like "snd <remote>, <command>"?

Thanks for your help.

Re: Illegal UDP Command

PostPosted: Sun 23. Jan 2011, 16:14
by IRTrans
Hi,
"0011000000000" is no IR command.

If you want to send an IR command you will need to learn it first (through the GUI Client).

Each learned command has got a name (remote control + command).

These commands can then be sent using the name of the remote and command. To send it please use the syntax described in the TCP ASCII Interface manual.

You can find it here: http://www.irtrans.de/download/Docs/IRT ... ace_EN.pdf

IRTrans