mfx_encode_bits8_raw(packet, state, state->crc8, 8);
mfx_encode_flag_pairs(packet, 11);
mfx_encode_bits8_raw(packet, state, 0x3, 4);
mfx_encode_bits8_raw(packet, state, state->crc8, 8);
mfx_encode_flag_pairs(packet, 11);
mfx_encode_bits8_raw(packet, state, 0x3, 4);