Removed the assumption of a null byte and then packet length being the first two packets when sending hex.