alanrichey wrote: This is the entry in Protocol.ini, if anyone could tell me which bit/byte to set to zero, or explain to me again how to get a protocol to display in the Assembler Tab of Protocol Builder I would be grateful.
Alan, this post (
http://www.hifi-remote.com/forums/viewt ... 9591#89591) will tell you how to get the protocol to display in the Assembler Tab of Protocol Builder (PB).
By the way, when you open PB, you may have a "
Security Warning: Some active content has been disabled [Options]" depending on the version of Excel. This is because this worksheet requires macros in order to function. Make sure to click the [
Options] and "
Enable this content"
vickyg2003 wrote:RM can now be used instead of PB. This protocol is more complex than most so there isn't a simple "repeat value" like we would find in most protocols.
He has the propensity to stick with the tools that he comfortable with, so I don't believe he has upgraded to the new RemoteMaster with the protocol disassembly tool.
Alan, just in case I'm wrong and you have then here is a little tutorial using the example of the thread I linked above:
Here's the RC6-M-20n protocol in RM's Output Tab:
Upgrade protocol 0 = 00 20 (S3C80) RC6-M-20n:short (RM v2.02 Beta)
47 93 61 8B 12 87 05 08 04 00 DE 00 00 00 00 00
CA D4 44 05 35 01 A8 0C 0A 18 07 02 11 10 08 10
07 10 09 10 C1 1E 10 08 10 07 0A EF 19 09 8D 01
46
End
This is what it looks like after being disassembled in the Protocol Builder worksheet.
Now, if you have the latest version of Remote Master, you can go to RM's
Command Bar >
Advance >
Edit Protocol and you'll see this instead:
For the protocols that get sent with a call to $0146 or $0149, you just have to make sure the value is an even number. That's because in binary, "
05" would be "010
1" and its the first bit that would enable/disable the repeats. Removing the first bit will equal "010
0" or "
04".
So, now in RM to change that value, you would have to
- Advance > Edit Protocols
- Select All, Copy
- Show: Assembly
- Click on an empty cell then Paste
- Change the value for the "Op Args" column and "FF 06" row from "05h" to 04h".
- Click Assemble then okay.
Now if you check the Output tab in RM it will indicate.
Upgrade protocol 0 = 00 20 (S3C80) RC6-M-20n:short-Custom (RM v2.02 Beta)
47 93 61 8B 12 87 04 08 04 00 DE 00 00 00 00 00
CA D4 44 05 35 01 A8 0C 0A 18 07 02 11 10 08 10
07 10 09 10 C1 1E 10 08 10 07 0A EF 19 09 8D 01
46
End
And if you want to make it more permanent, then you'd manually change it in the protocol.ini file.
Code.S3C80=47 93 61 8B 12 87 04 08 04 00 DE 00 00 00 00 00 \
CA D4 44 05 35 01 A8 0C 0A 18 07 02 11 10 08 10 \
07 10 09 10 C1 1E 10 08 10 07 0A EF 19 09 8D 01 \
46
However in more complicated protocols, like MCE, Rob said...
The Robman wrote:The more complicated protocols often need to be crafted manually, in which case you will likely see a call to $010A somewhere in there. That is the call that asks whether the button is still being held, so you will see some conditional logic following it where one branch exits and another repeats. You could delete the $010A call and any code supporting the repeating branch in order to make it not repeat.
Which because I don't understand assembly let alone SC380, I cannot translate that in layman's terms.