JP1 Remotes Forum Index JP1 Remotes


FAQFAQ SearchSearch 7 days of topics7 Days MemberlistMemberlist UsergroupsUsergroups RegisterRegister
ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Repeat bit for MCE Protocol

 
Post new topic   Reply to topic    JP1 Remotes Forum Index -> JP1 - Protocol Decodes
View previous topic :: View next topic  
Author Message
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3529
Location: UK/USA

                    
PostPosted: Tue Nov 15, 2011 7:00 am    Post subject: Repeat bit for MCE Protocol Reply with quote

Once again I am after setting the repeat value of a Protocol to zero. I know I should be able to do it in Protocol Builder, but despite repeated attempts I cannot figure it out. 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.

40 9a 41 8b 0d 00 05 35 01 a8 00 dc 00 00 00 00 00 c3 76 03 02 6b 08 76 00 01 6b 03 b6 06 80 76 03 01 6b 0b 56 03 fe 76 00 01 6b 03 46 03 01 1c 12 f6 01 4c 38 03 f6 ff 7a f6 ff 55 b0 c6 87 36 04 f6 ff 7e 6e 37 64 f6 c6 f8 88 00 f6 01 58 f6 01 0a 7b db af 76 03 01 6b 0b f6 ff 70 f6 ff 70 f6 ff 75 8b 10 1c 1a f6 ff 75 f6 ff 75 f6 ff 70 1c 16 8d 01 4c 1c 1a 8d 01 4c 4c 04 8b 02 4c 08 37 3f 08 f6 ff 75 f6 ff 70 8b 06 f6 ff 70 f6 ff 75 90 c3 4a eb af


Al
Back to top
View user's profile Send private message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Tue Nov 15, 2011 7:56 am    Post subject: Reply with quote

Hi Alan, I've recently come to appreciate the "non-repeating" signals myself. They come in very handy when the equipment "listens" for repeats too long.



Quote:
I know I should be able to do it in Protocol Builder, but despite repeated attempts I cannot figure it out.


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.

I'm having trouble reading this code myself. Normally I read the HCS08 version and then can figure out what the other version does, but that code isn't here so I am at a loss. I can't help you with this protocol at the moment, but did have to comment.

Hopefully Rob or someone else more familiar with the S3c8 can give you a hand.
Back to top
View user's profile Send private message Visit poster's website
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Tue Nov 15, 2011 9:41 am    Post subject: Reply with quote

Well I couldn't leave this alone.

Going by the title of this thread, I was looking at the MCE protocol. It would appear that there is NO repeat in that protocol unless a button is held and we know that you can't hold a button on a slingbox.

So now I have to leave it alone because I don't understand.
Back to top
View user's profile Send private message Visit poster's website
eferz
Expert


Joined: 03 Jun 2010
Posts: 1078
Location: Austin, Texas

                    
PostPosted: Tue Nov 15, 2011 10:58 am    Post subject: Reply with quote

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/viewtopic.php?p=89591#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:

Quote:
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 "0101" and its the first bit that would enable/disable the repeats. Removing the first bit will equal "0100" or "04".

So, now in RM to change that value, you would have to
  1. Advance > Edit Protocols
  2. Select All, Copy
  3. Show: Assembly
  4. Click on an empty cell then Paste
  5. Change the value for the "Op Args" column and "FF 06" row from "05h" to 04h".
  6. Click Assemble then okay.

Now if you check the Output tab in RM it will indicate.

Quote:
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.

Quote:
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.
_________________
Remotes; JP1.2: Comcast URC-1067, JP1.3: Insignia NS-RC02U-10A, JP1.4 OARI06G, JP2.1: Cox URC-8820-MOTO (still trying to figure out how to make them self-aware.)
Back to top
View user's profile Send private message
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3529
Location: UK/USA

                    
PostPosted: Tue Nov 15, 2011 11:09 am    Post subject: Reply with quote

vickyg2003 wrote:
I was looking at the MCE protocol. It would appear that there is NO repeat in that protocol unless a button is held and we know that you can't hold a button on a slingbox. So now I have to leave it alone because I don't understand.
Me too, but many thanks anyway Smile
Back to top
View user's profile Send private message
alanrichey
Expert


Joined: 24 Mar 2008
Posts: 3529
Location: UK/USA

                    
PostPosted: Tue Nov 15, 2011 11:14 am    Post subject: Reply with quote

eferz wrote:
Alan, this post (http://www.hifi-remote.com/forums/viewtopic.php?p=89591#89591) will tell you how to get the protocol to display in the Assembler Tab of Protocol Builder (PB).
Thanks, I'll work through it.

eferz wrote:
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.
Oh ye of little faith!! Of course I have upgraded

eferz wrote:
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:
Thanks, unfortunately it doesn't work with MCE.

eferz wrote:
Which because I don't understand assembly let alone SC380, I cannot translate that in layman's terms.
I can, because of my advanced age I cut my teeth on assembler Smile I'll look into it.
Back to top
View user's profile Send private message
eferz
Expert


Joined: 03 Jun 2010
Posts: 1078
Location: Austin, Texas

                    
PostPosted: Tue Nov 15, 2011 11:20 am    Post subject: Reply with quote

vickyg2003 wrote:
Going by the title of this thread, I was looking at the MCE protocol. It would appear that there is NO repeat in that protocol unless a button is held and we know that you can't hold a button on a slingbox.

I believe the Slingbox will arbitrarily "hold down" every virtual button a couple of seconds. That's why Alan is always coming back to ask how to disable the repeat function call in the protocol when the respective device over reacts.
_________________
Remotes; JP1.2: Comcast URC-1067, JP1.3: Insignia NS-RC02U-10A, JP1.4 OARI06G, JP2.1: Cox URC-8820-MOTO (still trying to figure out how to make them self-aware.)
Back to top
View user's profile Send private message
eferz
Expert


Joined: 03 Jun 2010
Posts: 1078
Location: Austin, Texas

                    
PostPosted: Tue Nov 15, 2011 11:38 am    Post subject: Reply with quote

alanrichey wrote:
Thanks, I'll work through it.

Oh ye of little faith!! Of course I have upgraded

Thanks, unfortunately it doesn't work with MCE.

I can, because of my advanced age I cut my teeth on assembler Smile I'll look into it.

Good to hear! Hope the information that I provided will at least be valuable for other instances or readers.
_________________
Remotes; JP1.2: Comcast URC-1067, JP1.3: Insignia NS-RC02U-10A, JP1.4 OARI06G, JP2.1: Cox URC-8820-MOTO (still trying to figure out how to make them self-aware.)
Back to top
View user's profile Send private message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Tue Nov 15, 2011 12:57 pm    Post subject: Reply with quote

eferz wrote:
vickyg2003 wrote:
Going by the title of this thread, I was looking at the MCE protocol. It would appear that there is NO repeat in that protocol unless a button is held and we know that you can't hold a button on a slingbox.

I believe the Slingbox will arbitrarily "hold down" every virtual button a couple of seconds. That's why Alan is always coming back to ask how to disable the repeat function call in the protocol when the respective device over reacts.


Oh, I thought you had showed me once where in the sling setup you could adjust the hold style.

So you want to remove the check for hold. Easy enough to do.

Upgrade protocol 0 = 01 2A (S3C80) MCE Custom (RM v2.02 Beta)
40 9A 41 8B 0D 00 05 35 01 A8 00 DC 00 00 00 00
00 C3 76 03 02 6B 08 76 00 01 6B 03 B6 06 80 76
03 01 6B 0B 56 03 FE 76 00 01 6B 03 46 03 01 1C
12 F6 01 4C 38 03 F6 FF 7A F6 FF 55 B0 C6 87 36
04 F6 FF 7E 6E 37 64 F6 C6 F8 88 00 F6 01 58 AF
76 03 01 6B 0B F6 FF 70 F6 FF 70 F6 FF 75 8B 10
1C 1A F6 FF 75 F6 FF 75 F6 FF 70 1C 16 8D 01 4C
1C 1A 8D 01 4C 4C 04 8B 02 4C 08 37 3F 08 F6 FF
75 F6 FF 70 8B 06 F6 FF 70 F6 FF 75 90 C3 4A EB
AF
End
_________________
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
Back to top
View user's profile Send private message Visit poster's website
eferz
Expert


Joined: 03 Jun 2010
Posts: 1078
Location: Austin, Texas

                    
PostPosted: Tue Nov 15, 2011 1:24 pm    Post subject: Reply with quote

vickyg2003 wrote:
Oh, I thought you had showed me once where in the sling setup you could adjust the hold style.

No, I didn't.



The screen above is the "Channel Test" page and is only relevant when selecting channels from the Slingplayer Electronic Program Guide (EPG) or for the Slingplayer Mobile clients that do not have direct access to the number buttons. This is what the Slingplayer's EPG looks like:



The idea is that if I double-click on either the channel identifier or the program from the first two columns, the Slingplayer will instruct the Slingbox to send the channel number in accordance to the settings in the "Channel test" page. That's why it allows you to configure the speed between numbers, zero padding, and the necessity of pressing Enter. Some set-top boxes expect different methods for changing the channel directly. The "Channel test" page addresses that lack of uniformity.
_________________
Remotes; JP1.2: Comcast URC-1067, JP1.3: Insignia NS-RC02U-10A, JP1.4 OARI06G, JP2.1: Cox URC-8820-MOTO (still trying to figure out how to make them self-aware.)
Back to top
View user's profile Send private message
vickyg2003
Site Admin


Joined: 20 Mar 2004
Posts: 7073
Location: Florida

                    
PostPosted: Tue Nov 15, 2011 2:07 pm    Post subject: Reply with quote

eferz wrote:
vickyg2003 wrote:
Oh, I thought you had showed me once where in the sling setup you could adjust the hold style.

No, I didn't.

The screen above is the "Channel Test" page and is only relevant when selecting channels from the Slingplayer Electronic Program Guide (EPG) or for the Slingplayer Mobile clients that do not have direct access to the number buttons.


Yes, that was what I was remembering, not a hold style. It was such a vague memory. I'm surprised you could figure out what I was talking about.
Back to top
View user's profile Send private message Visit poster's website
eferz
Expert


Joined: 03 Jun 2010
Posts: 1078
Location: Austin, Texas

                    
PostPosted: Tue Nov 15, 2011 3:29 pm    Post subject: Reply with quote

vickyg2003 wrote:
Yes, that was what I was remembering, not a hold style. It was such a vague memory. I'm surprised you could figure out what I was talking about.

Hee, hee. Well, I have been accused of helping people understand things base on my intuitive skills rather than my technical abilities. But more importantly, I'm on a quest to "light your bulb". Wink
_________________
Remotes; JP1.2: Comcast URC-1067, JP1.3: Insignia NS-RC02U-10A, JP1.4 OARI06G, JP2.1: Cox URC-8820-MOTO (still trying to figure out how to make them self-aware.)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic       JP1 Remotes Forum Index -> JP1 - Protocol Decodes All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


 

Powered by phpBB © 2001, 2005 phpBB Group
Top 7 Advantages of Playing Online Slots The Evolution of Remote Control