Fix TCP, make TCP like Serial and add new binary protocols

Hello

As TCP seems broken (see #Cleartext UDP and buggy TCP control documentation, and I guess that’s why it didn’t work with qsys here: #QSYS Plugin ) and there is some suboptimal behaviour when implementing custom controls (like having to send a sync request to receive the complete state all the time and thus generating a lot of useless traffic) why not use this chance to implement a better designed interface?

First things first:

Documentation says to use a string format in TCP. But yea, this is broken (see post above).

So, solutions:

  1. Reuse the serial format for TCP. No “S” prefix but one command per line, plain text, no binary OSC shizzle.

  2. Either

1. Keep the existing command structure but extend, or

2. In the LS settings interface for serial, TCP and UDP choose between this simple string based protocol and a new, more advanacd binary format, that offers some features like mentioned here (see last message): #OSC: Too many responses or inconsistent format

EDIT: sleeping over it, OSC like now is fine, but it could do with some love, if I may say so, see the wishlist linked above.

In September I can imagine to spend 2, max 3 weeks on such a new protocol extension which - depending on your actual system design - might suffice, and yes I am/was a software engineer (also see my website/profile)