Visual Productions forum

Products => CueCore, QuadCore, IoCore, TimeCore & B-Station => Topic started by: hwavt on December 05, 2016, 12:19:56 PM

Title: UDP adds "00" (HEX) at end of every UDP command
Post by: hwavt on December 05, 2016, 12:19:56 PM
Every UDP command the B station or IOcore sends out gets an aditional "00" (in HEX) at the end of the command. With regular UDP devices this is not a problem. But trying to communicatie with an Eclere Duo-net player, wil reboot the Duo-net player.

I would like to know why the "00" is added and if it's possible to avoid the "00".

Kind regards,
Hans
Title: Re: UDP adds "00" (HEX) at end of every UDP command
Post by: Guido Visser on December 05, 2016, 02:14:31 PM
Hello hwavt,

We had originally implemented all UDP messages as C style strings. Which end with a null character.
At this point the IoCore and B-Station send all UDP message this way.

However UDP also has a field which is used to specify the length of the data.
Therefore the null character is not needed.

At this moment there is no option available to remove the null character.
We will change this in the next firmware update.

Best regards,
Guido