Amending existing protocols using Protocol Building

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

Post Reply
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Amending existing protocols using Protocol Building

Post by alanrichey »

As happens to me regularly I am being asked to produce SlingBox BIN files with the repeat bit set to zero. So far, thanks to RobMan I have 'tweaked' versions of the NEC1, RC-5 and GI-Cable protocols but would like to do a few more. And to avoid having to bother Rob I would like to do it myself.

I have been through all the documentation for Protocol Builder but cannot find a simple step-by-step guide on how to import an existing protocol such as :

Code.S3C80=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

Change the assembler values to zero the repeat bit and then save it as a new protocol.

Does such a tutorial exist ? If not could someone produce one ?

Thanks

Al
mr_d_p_gumby
Expert
Posts: 1370
Joined: Sun Aug 03, 2003 12:13 am
Location: Newbury Park, CA

Re: Amending existing protocols using Protocol Building

Post by mr_d_p_gumby »

alanrichey wrote:I have been through all the documentation for Protocol Builder but cannot find a simple step-by-step guide on how to import an existing protocol such as :

Code.S3C80=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
Reformat the protocols.ini code like this:

Code: Select all

Upgrade protocol 0 = XX XX (PPPPPP)
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
where:
XX XX is the protocol ID (ex: 00 5a)
PPPPPP is the PB processor type (ex: S3C8+)

Now paste this into the Notes area, using paste special|text.

Set the Remote Type correctly, then click the Decode button.

Go to the Assembler tab and click on Load Disassembly.
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

Thanks Mike, just what I needed. It was the 'Paste Special Text' bit I was missing in my experiments. And I now have a UK Sky box (RC6-M-20n) without a 'double-skip' when I try and navigate the TV Guide :wink:
Post Reply