# Heliox communication protocol ## Basic data structure The following table describes the bit pattern for a successful communication with heliox devices. | 0-15 | 16-22 | 23 | 24-31 | 32-(32+8*x) | | :---------------: | :----------: | :---------------: | :-------------------: | :---------: | | Magic Number (HX) | Message Type | Parity Bit (even) | Data Length (x Bytes) | Data | ## Message Types | Code | Purpose | | ---- | -------------------- | | 0x0 | Light Data | | 0x1 | Control Signal | | 0x2 | Status Messages | | 0x3 | Confirmation Message | | 0x4 | Debug Info | ### Light Data - 1-Byte-block per lamp: 0-255 - Index of lamp determinded by order ### Control Signal - Index Byte + [ **t** oggle | **i** ncrease | **d** decrease ] - on - off