PID $011A: NEC 4DEV Combo: Ambigous hex codes in RM and KM
Posted: Wed Sep 09, 2009 1:56 am
I'm having trouble understanding how RM and KM decide which hex values to generate, using the NEC 4 Dev (011A) protocol. I entered dev=122 and dev2=126, and then chose OBC=127. For device 126, both RM and KM calculate the hex data as 01 60, which corresponds to EFC5=17061. Now I know that some Yamaha receivers do respond to dev 126, OBC 127 (from RC files and old posts here) and that they furthermore respond to 17029, which is hex 01 40. See this thread to see the motivation for this post.
If I enter EFC5=17029 (corresponding to 01 40), both programs report that I have selected dev 126, OBC 127. Or in RM, entering either 10 40 or 01 60 yields NEC1, dev 126, OBC 127
In summary, hex data of 01 40 and 01 60 seem to both correspond to device 126 and OBC 127 in this protocol. It turns out that with either program, entering device numbers, style, and OBC, yields an output of 01 60. In this particular case, I suspect that 01 40 is the desired output. At least, 17029 (01 40) is the "official" EFC.
So does the executor treat 01 40 and 01 60 differently? I can see that bits 6 and 7 of the low byte determine which device/subdevice pair are used, and bit 4 selects NEC versus NECx. Bit 0 seems to select NEC1 or NEC2. Does bit 5 matter?
If I enter EFC5=17029 (corresponding to 01 40), both programs report that I have selected dev 126, OBC 127. Or in RM, entering either 10 40 or 01 60 yields NEC1, dev 126, OBC 127
In summary, hex data of 01 40 and 01 60 seem to both correspond to device 126 and OBC 127 in this protocol. It turns out that with either program, entering device numbers, style, and OBC, yields an output of 01 60. In this particular case, I suspect that 01 40 is the desired output. At least, 17029 (01 40) is the "official" EFC.
So does the executor treat 01 40 and 01 60 differently? I can see that bits 6 and 7 of the low byte determine which device/subdevice pair are used, and bit 4 selects NEC versus NECx. Bit 0 seems to select NEC1 or NEC2. Does bit 5 matter?