pidaqif: set high bit as flag to indicate data length header
make debugging code more concise