On 03/15/04 15:16, galileo01 said...
I thought Pioneer was unique because your decode
ccf shows pioneer not nec or nec2.
My decoder simply changes the protocol name from NEC2 to Pioneer when the frequency is near the Pioneer frequency rather than near the NEC frequency.
So a simple pioneer.irp is just like NEC2 except for the frequency, like this:
Device=163
Function=0..255
Protocol=Pioneer
Frequency=40000
Time Base=564
One=1,-3
Zero=1,-1
Prefix=16,-8
Suffix=1,-78
Default S=~D
Form=;*,D:8,S:8,F:8,~F:8,_
a different one time device and function(D=163
F=153) than the repeat(D=175 F=x. The receiver
seems to use to different device codes some are
165 and some are 164.
To construct that, MakeHex needs to be told four different numbers: the first device (163), the prefix command number (153), the second device (175) and the function number. There are many ways to do that. Since Pioneer doesn't use subdevice, I decided to use the subdevice input for the second device and define an extra input for the prefix command (see the .irp below).
For structure, I think you're asking for the first command to be the one-time part of the Pronto Hex and the seconnd command to be the repeating part. That is common (but not the only) Pioneer structure. I made this .irp to do that:
Device=163.175
Define P=153
Function=0..255
Protocol=Pioneer2
Frequency=40000
Time Base=564
One=1,-3
Zero=1,-1
Prefix=16,-8
Suffix=1,-78
Form=*,D:8,~D:8,P:8,~P:8,_;*,S:8,~S:8,F:8,~F:8,_