TIG wire protocol

Frame:

4 bytes in little endian byte order with frame length N
N bytes with frame - request or response

Request:

Response:

Data types:

Data type in XML definition Data on wire
Byte 1 byte
Word 2 bytes in little endian byte order
LongWord 4 bytes in little endian byte order
QuadWord 8 bytes in little endian byte order
F_Float 4 bytes in IEEE 754 binary32 format
D_Float 8 bytes in IEEE 754 binary64 format
G_Float 8 bytes in IEEE 754 binary32 format
S_Float 4 bytes in IEEE 754 binary64 format
T_Float 8 bytes in IEEE 754 binary64 format
FixedCharacterString 2 bytes in little endian byte order with length N
N bytes with characters in ISO-8859-1 encoding
VariableCharacterString 2 bytes in little endian byte order with length N
N bytes with characters in ISO-8859-1 encoding
NullTermCharacterString 2 bytes in little endian byte order with length N
N bytes with characters in ISO-8859-1 encoding
Block 2 bytes in little endian byte order with length N
N bytes with block data