protocols.ini entry for RC5/5x combo
Posted: Sun Jul 11, 2004 1:16 pm
I managed to make this work and I think it is fairly clean from a UI perspective. I couldn't get the RC5Initializer() to work with this setup. However, the choice in the check box (selecting the upper or lower possible sub-device numbers) on the setup tab while it works does not appear in the pull down choice in the functions tab.
It works fine the way I have it set up, but if someone wants to modify the RC5Initializer, this is what I think needs to be done:
Be able to accept and entry of "RC5" in the first command parameter (RC5x Device :0|2|4|6|RC5). That sets the bottom bit of the second variable byte which changes between RC5 and RC5x. It also needs to have the text for "Sub-Device>64"appear rather than "OBC>64".
To clarify, as written it works and it is fully functional. AFAIK, it also works every feature that the $0073 protocol can do.
[RC-5/5x Combo]
PID=00 73
DevParms=RC5x Device 1:5=0,Sub-Device>63=0:bool,RC5x Device 2:5=[0],Sub-Device>63:bool=[1],RC5x Device 3:5=[2],Sub-Device>63:bool=[3],RC5x Device 4:5=[4],Sub-Device>63:bool=[5]
DeviceImporter=RC5Importer()
DeviceTranslator=Translator(comp,0,5,3) Translator(comp,2,5,11) Translator(comp,4,5,19) Translator(7,1,25) Translator(comp,6,5,27) Rc5FlagTranslator()
FixedData=00 00 00 00
CmdParms=RC5x Device :0|2|4|6|RC5,RC5x Sub-Device:7=127,RC5x OBC:6=63,RC5 Device:5,RC5 OBC:7
CmdTranslator=Translator(comp,1,6,0) Translator(comp,2,6,6) Translator(0,2,13) Translator(comp,1,1,12,6) Translator(comp,0,1,15,2) Translator(comp,3,5,3) Translator(4,1,1,6) Translator(comp,4,6,8)
#CmdParmInit=RC5Initializer()
CmdParmInit=PickInitializer(0,n0,n2,n4,n6,,)
DefaultCmd=00 00
CmdIndex=1
Notes=This Protocol can do either RC5 or RC5x mostly used in McIntosh and Philips equipment. It can do all 128 OBC's for any device in RC5. \
In the Setup tabou can select any four devices in RC5x and pick between subdevices 0-63 or 64-127 by marking the checkbox by the respective device. In \
the functions tab you can select any of the four RC5x Devices in the RC5x Device column OR RC5. If you pick RC5x use the columns for RC5x \
Sub-Device and RC5x OBC. If you select RC5, then use the columns further right for RC5 Device and RC5 OBC. Note: Since the variable data \
mapping is different between RC5x and RC5, values will appear in RC5x columns\
as you enter data in the RC5 columns and vice-versa. Just ignore the ones you aren't using.
Code.S3C80=40 9A 42 8B 17 C8 81 10 00 08 01 C2 01 A4 01 C2 01 A4 DE 2C 00 00 06 C2 94 01 06 00 28 08 37 21 18 E4 07 03 E4 08 04 E6 10 00 28 03 76 00 01 6B 45 B6 C2 20 29 03 8D 01 49 E6 25 09 E6 24 04 E6 28 89 E6 12 08 E4 22 1C E4 23 1D 28 08 37 22 08 37 24 0D E4 06 03 8B 0B 37 24 08 E4 05 03 8B 03 E4 04 03 E4 07 04 E4 08 05 76 00 01 6B 03 B6 03 20 77 77 E6 10 01 8D 01 49
Code.740=0C 1C 42 80 11 E9 C0 20 20 08 08 02 07 02 06 02 C9 6F 20 00 00 04 17 62 38 3C 01 69 A5 62 4A 29 03 AA B5 5D 85 5D A5 61 85 5E A5 62 85 5F 17 5A 06 A5 5D 49 20 85 5D 3C 04 77 2F 5C 3C C0 7E 22 00 3C A8 7E 22 00 A2 78 A0 5D 22 44 22 06 90 EC 60 3C 06 6C 3C E1 7E 3C 81 7F 3C 21 80 3C 01 69 A5 73 85 71 A5 74 85 72 A5 62 85 5E A5 61 17 5A 02 49 20 85 5D 4C 00 FF 60
Code.6805-RC16/18=10 27 42 20 15 87 81 10 08 04 00 DE E1 00 DE E1 4A 0A 6E F9 00 00 03 00 84 09 01 5F 22 B6 5F 44 A4 03 97 E6 5A B7 5A 01 57 04 A8 20 B7 5A 3F 58 B6 5E B7 5B B6 5F B7 5C A6 02 B7_66 CC 01 C4 A6 06 B7_68 B6 5E B7 5A B6 5F B7 5B A6 01 B7_66 A6 C5 B7_7B B6_71 B7_6F B6_72 B7_70 01 57 06 B6 5A A8 20 B7 5A CC 01 B2
It works fine the way I have it set up, but if someone wants to modify the RC5Initializer, this is what I think needs to be done:
Be able to accept and entry of "RC5" in the first command parameter (RC5x Device :0|2|4|6|RC5). That sets the bottom bit of the second variable byte which changes between RC5 and RC5x. It also needs to have the text for "Sub-Device>64"appear rather than "OBC>64".
To clarify, as written it works and it is fully functional. AFAIK, it also works every feature that the $0073 protocol can do.
[RC-5/5x Combo]
PID=00 73
DevParms=RC5x Device 1:5=0,Sub-Device>63=0:bool,RC5x Device 2:5=[0],Sub-Device>63:bool=[1],RC5x Device 3:5=[2],Sub-Device>63:bool=[3],RC5x Device 4:5=[4],Sub-Device>63:bool=[5]
DeviceImporter=RC5Importer()
DeviceTranslator=Translator(comp,0,5,3) Translator(comp,2,5,11) Translator(comp,4,5,19) Translator(7,1,25) Translator(comp,6,5,27) Rc5FlagTranslator()
FixedData=00 00 00 00
CmdParms=RC5x Device :0|2|4|6|RC5,RC5x Sub-Device:7=127,RC5x OBC:6=63,RC5 Device:5,RC5 OBC:7
CmdTranslator=Translator(comp,1,6,0) Translator(comp,2,6,6) Translator(0,2,13) Translator(comp,1,1,12,6) Translator(comp,0,1,15,2) Translator(comp,3,5,3) Translator(4,1,1,6) Translator(comp,4,6,8)
#CmdParmInit=RC5Initializer()
CmdParmInit=PickInitializer(0,n0,n2,n4,n6,,)
DefaultCmd=00 00
CmdIndex=1
Notes=This Protocol can do either RC5 or RC5x mostly used in McIntosh and Philips equipment. It can do all 128 OBC's for any device in RC5. \
In the Setup tabou can select any four devices in RC5x and pick between subdevices 0-63 or 64-127 by marking the checkbox by the respective device. In \
the functions tab you can select any of the four RC5x Devices in the RC5x Device column OR RC5. If you pick RC5x use the columns for RC5x \
Sub-Device and RC5x OBC. If you select RC5, then use the columns further right for RC5 Device and RC5 OBC. Note: Since the variable data \
mapping is different between RC5x and RC5, values will appear in RC5x columns\
as you enter data in the RC5 columns and vice-versa. Just ignore the ones you aren't using.
Code.S3C80=40 9A 42 8B 17 C8 81 10 00 08 01 C2 01 A4 01 C2 01 A4 DE 2C 00 00 06 C2 94 01 06 00 28 08 37 21 18 E4 07 03 E4 08 04 E6 10 00 28 03 76 00 01 6B 45 B6 C2 20 29 03 8D 01 49 E6 25 09 E6 24 04 E6 28 89 E6 12 08 E4 22 1C E4 23 1D 28 08 37 22 08 37 24 0D E4 06 03 8B 0B 37 24 08 E4 05 03 8B 03 E4 04 03 E4 07 04 E4 08 05 76 00 01 6B 03 B6 03 20 77 77 E6 10 01 8D 01 49
Code.740=0C 1C 42 80 11 E9 C0 20 20 08 08 02 07 02 06 02 C9 6F 20 00 00 04 17 62 38 3C 01 69 A5 62 4A 29 03 AA B5 5D 85 5D A5 61 85 5E A5 62 85 5F 17 5A 06 A5 5D 49 20 85 5D 3C 04 77 2F 5C 3C C0 7E 22 00 3C A8 7E 22 00 A2 78 A0 5D 22 44 22 06 90 EC 60 3C 06 6C 3C E1 7E 3C 81 7F 3C 21 80 3C 01 69 A5 73 85 71 A5 74 85 72 A5 62 85 5E A5 61 17 5A 02 49 20 85 5D 4C 00 FF 60
Code.6805-RC16/18=10 27 42 20 15 87 81 10 08 04 00 DE E1 00 DE E1 4A 0A 6E F9 00 00 03 00 84 09 01 5F 22 B6 5F 44 A4 03 97 E6 5A B7 5A 01 57 04 A8 20 B7 5A 3F 58 B6 5E B7 5B B6 5F B7 5C A6 02 B7_66 CC 01 C4 A6 06 B7_68 B6 5E B7 5A B6 5F B7 5B A6 01 B7_66 A6 C5 B7_7B B6_71 B7_6F B6_72 B7_70 01 57 06 B6 5A A8 20 B7 5A CC 01 B2