Open Druuka opened 7 years ago
Hello,
unfortunatly, I don't have anymore photons to test it, but you can try surrounding the line :
outputBuffer[strlen(outputAddress)+addresszeroCount] = ',';
like this :
if( strlen(outputTypes) > 0)
{
outputBuffer[strlen(outputAddress)+addresszeroCount] = ',';
}
Please let me know if this works (submit a pull request).
Regards
AntoineM*
I'm trying to send an address without any argument but the library adds a comma even if I don't add any data to it. OSCMessage outMessage(/fader/setup/1/10); outMessage.send(udp,RemIP,RemPort);
This ends up with this being transmitted. /fader/setup/1/10,
I'm looking for /fader/setup/1/10 to be the complete packet.
Is it possible for the library to only add the comma if there is an argument added to the message instead of assuming there will be an argument?