Page 1 of 1

key press sends command twice

Posted: Thu Jul 05, 2007 10:49 am
by micro_doc
I have succesfully created an upgrade file for my mutant 200s with all the functions working on a URC-6131n..the only problem is when i press a key it seems like it's sending the command twice.I have tried searching for instructions on setting the # of repeats , but have not been able to find a solution for this protocol...could someone point me in the right direction to which bytes control the repeats..Thank you.

Upgrade protocol 0 = 00 23 (S3C80) PID 00 23 (RM v1.78)
43 8C 11 8B 13 85 85 10 08 06 01 A6 01 92 01 A6
01 92 A3 34 01 A6 00 00 10 04 C0 03 08 00 27 0D
03 8D 01 46
End

Posted: Thu Jul 05, 2007 11:15 am
by The Robman
I don't see anything in that protocol that indicates that the signal would be sent twice, but it does repeat if you hold the button down. If you would rather that it didn't repeat at all, you should change the 6th byte from "85" to "84".

Posted: Thu Jul 05, 2007 11:26 am
by micro_doc
thanks very much for the help...but if i disable repeats altogether..then buttons like volume and such would have to be pressed repeatedly.
If i hit the button very very very quickly .it works OK..but if i press it normally, it seems like it sends the command twice..Is there a way to shorten the amount of time it sends each command

Posted: Thu Jul 05, 2007 11:38 am
by The Robman
You could try increasing the leadout time, so it takes longer until it checks whether the button is still being held. To do that you would increase the "A3 34" value in the code. Currently this equates to 83,560 uS, to increase it to 130,000 you would change the value to "FD E8".

Posted: Thu Jul 05, 2007 11:48 am
by micro_doc
thanks again ..but that didn't help..any other ideas..

Posted: Thu Jul 05, 2007 12:12 pm
by The Robman
Which buttons, apart from the volume buttons, need to repeat? If you could live with just the VOL+, VOL-, CH+, CH-, FFWD and REW buttons repeating, try changing the 6th byte from "85" to "86".

Also, don't forget to load your upgrade into the file section when you're done.

Posted: Thu Jul 05, 2007 12:37 pm
by micro_doc
That worked great...thanks for the help..by the way..I don't meen to contradict you as you know alot more about this then me..but after looking at the disassembly..it was the 7th byte that needed to be changed.
Again thank you

Posted: Thu Jul 05, 2007 12:54 pm
by The Robman
That's what you get when there are two "85" bytes right next to each other! :)