KNXnetIP implementation in C#
<p>I'm developing an application in C# to control my KNX home system. So, i've used the software ETS3Demo, and using the software wireshark could "see" the IP datagrams sent by the ETS3 to the KNX/IP Interface. </p>

<p>I've alredy succeed with the "Connection_Request", "ConnectionState_Request" and "Disconnect_Request", i.e. I send the requests datagram and the KNX/IP Interface responds.</p>

<p>The only request that is giving me headaches is the "Tunnelling_Request". I send the information exactly the same way as I send the previous datagrams, but this one seems not to work.</p>

<p>I send the datagram "byte by byte", as you can see in the following code:</p>

<pre><code>        byte[] byteToSend1 = { 06, 16, 04, 32, 00, 21, 04 };

        string communicationChannel = ComunicationChannelNum.Text;
        byte bytesnew = Convert.ToByte(communicationChannel);

        byte[] byteToSend2 = { 00, 00, 17, 00, 188, 224, 00, 00, 09, 01, 01, 00, 129 };

        writer.WriteBytes(byteToSend1);
        writer.WriteByte(bytesnew);
        writer.WriteBytes(byteToSend2);
</code></pre>

<p>I've alredy changed the byte that corresponds to the source address and the group address to a "int" variable, and still doesn't work.</p>

<p>Can someone give me a suggestion or something that I might be doing wrong.</p>

<p>Thanks</p>
