1.6.5.8 HEXLENGTH

The DATALENGTH protocol step reads packet length field coded as a two byte hexadecimal number.

hexlength-tx.gif

The received data length is remembered by the protocol until a USERDATA step is encountered. The USERDATA step will read this number of bytes minus the offset stated with the HEXLENGTH step.