fix header size and filled in convert_frame_to_char function
filled in convert_char_to_frame function
fix type errors and missing memcpy for seq_num