Ben - 2015-02-11

Hi all,

I think I don't manage to send properly data using linknx ioport.

I use linknx-0.0.1.32-optware-syno-x07.

The ioport config is:
<ioport id="txnr708" host="192.168.1.146" port="60128" rxport="60128"/>

The tx action is:
<action type="ioport-tx" ioport="txnr708" hex="true" data="0d490d530d430d500d000d000d000d100d000d000d000d000d000d000d080d010d000d000d000d210d310d410d4d0d540d540d470d0d"/>

Here is linknx log file:
2015-02-11 09:38:40 [ INFO] UdpIOPort: send(buf, len=54):
I
S
C
P

Maybe the data is truncated because of the NULL character (0d00)...
I try with "non-hex" data, same results...

I also try this:
<action type="script"><![CDATA
iosend("tx-nr708", "ISCP������ ���!1AMTTG ");
]></action>
It doesn't work...

I'm sure this hex data is ok:
49 53 43 50 00 00 00 10 00 00 00 00 00 00 08 01 00 00 00 21 31 41 4d 54 54 47 0d

When I use a php script, the following string works fine, my TX-NR708 receives "mute" command:
"\x49\x53\x43\x50\x00\x00\x00\x10\x00\x00\x00\x0A\x01\x00\x00\x00\x21\x31\x41\x4D\x54\x54\x47\x0D"

Thanks.

Ben