 theu800 following code defines theu800 qualcomm qmdl diagnostic logu800 format. foru800 reference please read constant definition #define msg_masks_type 1u800 #define log_masks_type 2u800 #define event_masks_type 4u800 #define pkt_type 8u800 #define deinit_type 16u800 #define user_space_log_type 32u800 #define dci_data_type 64u800 qmdl payload definition inu800 bnfu800 format rawu800 diag stream payload payload payloadtype 4u800 bytes payloaddata payloadtype msg_masks_type log_masks_type event_masks_type pkt_type deinit_type user_space_log_type dci_data_type payloaddata user_space_log_type dci_data_type payloadpartcount bytes payloadpartlist payloadpartlist payloadpart payloadpart payloadpartlength 4bytes payloadpartbody packetlist payloadpartbody qmdl packet andu800 packet list definition inu800 bnfu800 packetlist packet packet innerpacket crc16 2bytes 0x7e 1byte qmdl logu800 bnfu800 qmdl packet dlfu800 message format dlfu800 msgu800 msgu800 lenu800 keyu800 timestamp data 2u800 bytes 2byte 8u800 lenu800-12u800 