inzombyac Posted January 24, 2015 Report Share Posted January 24, 2015 Since some remotes send alternating codes and there are multiple questions/postings about having to record the same key twice, why not record two key presses when going through the setup? The second press could confirm the original code, or determine if the remote alternates codes between presses. If users don't want to go through this process, you could also just make this an option in the Advanced menu "My remote uses multiple codes per button". Possible workflow: 1) Press a button on the gui or use the flirc_util record command 2) Prompt user to press a button on the remote 3) User presses button on the remote 4) Acknowledge the code was received and prompt the user to press the key again 5) User presses same button again 6) Acknowledge the second press. If the codes are the same each time, record the first code. If they are different, record both. You could even prompt the user to press the button again, to recognize that the third press matches the first. This would eliminate the headache for MCE style remotes. 1 Quote Link to comment Share on other sites More sharing options...
Chris! Posted January 26, 2015 Report Share Posted January 26, 2015 That is a good idea. It think Jason's plan is to somehow predict what the other code would be without the user having to press the key twice (or know their remote sends to button presses). Quote Link to comment Share on other sites More sharing options...
avpman Posted April 19, 2015 Report Share Posted April 19, 2015 Yes please implement this! Quote Link to comment Share on other sites More sharing options...
yawor Posted April 19, 2015 Report Share Posted April 19, 2015 The RC6 protocol usually toggles only a single bit but the problem is that the whole signal is stored in a hashed form. Even single bit change can generate very different hash value in the Flirc. The trick is to properly detect that the signal is an RC6 one and do something with it. The best thing would be to ignore this bit so no matter if it is set or not the hash would be the same. But I don't think it is possible with processing power of microcontroller used in Flirc as this would require to actually decode the signal into raw data. The other course of action would be to ask the user to press the button one more time if RC6 signal is detected - not ideal solution because user still needs to press the button multiple times but at least there is no need to manually record the same key combination again. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.