I wrote a custom pixelflut server in python to use this project with my LED matrix which is controlled via python. I noticed i often get a line which looks like this: b'\x00PX 0000 0000 ff9400'
Before this commit the pixelflut client implementation would occasionally send zero bytes (as in value not length) to the pixelflut server. This patch makes sure each pixelflut command is exactly 20 chars long and terminated by a newline rather than a zero byte.
I wrote a custom pixelflut server in python to use this project with my LED matrix which is controlled via python. I noticed i often get a line which looks like this:
b'\x00PX 0000 0000 ff9400'
Before this commit the pixelflut client implementation would occasionally send zero bytes (as in value not length) to the pixelflut server. This patch makes sure each pixelflut command is exactly 20 chars long and terminated by a newline rather than a zero byte.