klein0r / node-red-contrib-artnet-node

Node-RED node to control DMX slaves via ArtNet
https://haus-automatisierung.com
MIT License
5 stars 3 forks source link

Corrected packed length calculation. #2

Open daniel-wassenberg opened 1 year ago

daniel-wassenberg commented 1 year ago

When packet was less than 256 values, upper byte of length was set to 2, causing the length to be 512 + actual length.

marcobrianza commented 1 year ago

I agree on this fix, before the fix my Enttec ode mk2 was not accepting the short artnet packets because malfored (also wireshark detected the issue)