Toggle Bits

If something isn't doing what it should, look here first, and you'll probably find out why.

Moderators: smugan, ianbuckley, wademcnary

Re: Toggle Bits

Postby jehill » Sat May 12, 2012 12:15 pm

Very clever! That way, every time that you press the up button, the opposite parity bit code is used. By "channel up 1" and "channel up 2" you are referring to the two channel up codes with opposite parity bit settings, right?
Last edited by jehill on Sat May 12, 2012 12:31 pm, edited 1 time in total.
jehill
 
Posts: 66
Joined: Sun Feb 12, 2012 4:39 pm

Re: Toggle Bits

Postby hoka » Sat May 12, 2012 12:26 pm

after you press "channel up 1" once it does not work anymore, the next time you want to change channel you need to send "channel up 2".
the workarround with the macro and the jump to annother remote is to make this possible with just the one button (although in reality is is actually two buttons)

If you have a less complicated solution please tell me!
hoka
 
Posts: 22
Joined: Thu Jun 30, 2011 5:26 am

Re: Toggle Bits

Postby jehill » Sat May 12, 2012 12:36 pm

No I don't. I just edited my last response to acknowledge how clever you are!
jehill
 
Posts: 66
Joined: Sun Feb 12, 2012 4:39 pm

Re: Toggle Bits

Postby jehill » Thu Jan 17, 2013 3:08 pm

OK! I created a 3 key and a 4 key on a test L5 remote and used the "Full Assign" mode to learn the 3 key and 4 key on my Comcast DVR remote. I then created two macro keys, 333 and 444 using the 3 key and 4 key. If you try the "Full Assign" mode, you will discover that it requires two key presses. Assuming that the number codes from the Comcast DVR remote include a parity bit, that suggests that one key press saved has the parity bit set and the other key press saved has the parity bit clear. Since both key presses are saved, I believe that both are transmitted when I press the 3 key or 4 key created on my L5 remote. If so, the DVR should always respond to one of the two codes.

Originally, I inserted a 1 second delay after the first and second key presses in the 333 and 444 macros. The first time I tested the 333 macro, I got to 100 tries with no error. After playing around with the delays a bit, I started seeing errors. Presently, I have no delay after the first key press and a 0.5 second delay after the second key press. Typically, I see one or two errors out of 100 tries. I don't think that's two bad. The errors may be the result of less than optimum line up between the L5 remote and the IR receiver on the DVR. I usually tilt the L5 remote up a bit rather than pointing it directly at an IR receiver. Another thing to avoid is accidentally pressing a macro button a second time before completion of the processing of the first press.

Now its time to relearn the number keys on my L5 Comcast remote using the "Full Assign" mode so that the parity bit issue is solved when manually pressing the buttons or if they are included in a macro. Let me know how you make out if you try the above. I will upload my Comcast DVR L5 remote as soon as I complete relearning the number keys.
jehill
 
Posts: 66
Joined: Sun Feb 12, 2012 4:39 pm

Re: Toggle Bits

Postby GPDive » Wed Jan 23, 2013 9:10 am

I recently purchased the L5 and noticed the problem with Microsoft Media Center I.e. pressing virtually any key worked for the first key press but doing it repeatedly resulted in no action. After a little digging I think my problem has been solved. It appears to be something to do with "debouncing" (whatever this is!!). Anyway the solution to my problem was solved by using the info in the following link

http://www.etcwiki.org/wiki/Windows_Med ... mote_Codes

By altering the registry key referred to in the link so that debouncing is switched off, my problem has been solved. Everything works perfectly!

Obviously only a solution for Microsoft Media Center running on a computer, not a fix all for those that are trying to control other pieces of kit but hopefully someone will find this information useful.
GPDive
 
Posts: 1
Joined: Wed Jan 23, 2013 8:56 am

Re: Toggle Bits

Postby ianbuckley » Wed Jan 23, 2013 9:24 pm

@GPDive

This solution was discussed in the following topic: Buttons only work first time.
-Ian
Moderator
ianbuckley
 
Posts: 936
Joined: Tue Nov 02, 2010 5:24 am
Location: Cheshire, England

Previous

Return to Problems & Bug Reports

Who is online

Users browsing this forum: No registered users and 1 guest

cron