-
sudo apt install luajit luarocks
-
sudo luarocks install luasocket
-
sudo luarocks install lpack
-
sudo luarocks install lua-brotli
-
sudo luarocks install middleclass
CMD | count | offset | nb_pixel | Data |
---|---|---|---|---|
u8 | u8 | u16 | u16 | ? |
- CMD :
- 0x00 : Send RGB888 DATA
- 0x01 : Send RGB888 DATA and update
- 0x02 : Send RGB565 DATA
- 0x03 : Send RGB565 DATA and update
- 0x10 : Send Z888 DATA
- 0x10 : Send Z888 DATA and update
- Count :
- Increment by 1 every new UDP packet ( overflow at 256 )
- Offset:
- When you need split the UDP show the offset data
- nb_pixel:
- number of pixel in the UDP packet
- Data:
- pixel Data
CMD | count | offset | nb_pixel | Red | Green | Blue | ... |
---|---|---|---|---|---|---|---|
u8 | u8 | u16 | u16 | u8 | u8 | u8 | ... |
CMD | count | offset | nb_pixel | Compress RGB888 Data |
---|---|---|---|---|
u8 | u8 | u16 | u16 | ... |