If you type the device number (71) into the LSB field of the EFC calculator, you will see E2 in the hex field.
The way all these LIRC files are configured that E2 is the pre-data.
But that is specific to these LIRC files. It is possible to have an LIRC file for Mitsubishi protocol that doesn't do it that way. And for protocols other than Mitsubishi the variety of rules is even greater.
For deducing the protocol itself, things get much trickier:
The bit timing is approximate everywhere. In one lirc file I see
In another I see
You need a fair amount of experience to know that apparently large difference is insignificant and both versions are consistent with the
values documented in the IRP notation for Mitsubishi at
http://john.fine.home.comcast.net/ir/De ... Mitsubishi
In that the 300 .. 1,-3 .. 1,-7 is equal to lirc
Then the number of bits is fun. In one LIRC file we see
Code: Select all
bits 7
pre_data_bits 8
post_data_bits 2
In the other we see
Code: Select all
bits 8
pre_data_bits 8
ptrail 549
You need a good understanding of IR to realize that both of those (and that IRP I linked) mean that there are 16 data bits followed by a trailer that is equivalent in timing (but not in meaning) to one more bit.
Even I don't have the skill+patience required to look at LIRC data like that and deduce that it is Mitsubishi protocol, not Bose or G.I.Cable or DishNetwork or JVC, all of which are easy to confuse with Mitsubishi when looking at a crude approximation of the signal.
Instead, I have the experience to know that Mitsubishi:71 is such a common Mitsubishi code set that there must be several LIRC files for it, and I know that the device and OBC are encode LSB. So I just needed to see whether the LIRC file defines "one" as the long bit and "zero" as the short bit (the way DecodeIR does) requiring LSB translation, or the LIRC file could have defined "one" as the shorter bit requiring LSB-comp translation. Then I could easily compute the pre-data would be E2 and quickly glance at each Mitsubishi LIRC file to find the ones with predata E2.