This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
wiki:v2:ccc-packets [2018/10/10 17:41] pixycam [getBlocks(sigmap, maxBlocks)] |
wiki:v2:ccc-packets [2018/10/10 19:07] pixycam [getBlocks(sigmap, maxBlocks)] |
||
---|---|---|---|
Line 16: | Line 16: | ||
- | ^Byte ^Description ^Value ^ | + | ^Byte ^Description ^Value(s) ^ |
|0 - 1 |16-bit sync | 175, 193 (0xc1af) | | |0 - 1 |16-bit sync | 175, 193 (0xc1af) | | ||
|2 |Type of packet |33 | | |2 |Type of packet |33 | | ||
|3 |Length of payload |14 | | |3 |Length of payload |14 | | ||
- | |4 - 5 |16-bit checksum | | | + | |4 - 5 |16-bit checksum | sum of payload bytes | |
|6 - 7 |16-bit signature / Color code number |0 - 255| | |6 - 7 |16-bit signature / Color code number |0 - 255| | ||
|7 - 8 |16-bit X (center) of block in pixels |0 - 315 | | |7 - 8 |16-bit X (center) of block in pixels |0 - 315 | |