Jump to content
Flirc Forums

Recommended Posts

Posted

I have a remote for my Pioneer Inno XM radio that I want to capture all the keys from and use the sendir to control the device from the computer.

One glaring issue, the remote sends two different types of scan codes, alternating between button presses.

This was pressing the Up button 4 times. If I use any one of the codes and send them back with sendir, it works once but stops responding until I use the actual remote with it again. I think it's expecting on the device side to see an alternating pattern of RC5 and unknown, and rejects the commands completely if it doesn't. How would I go about sending a single keypress either via flirc_util sendir/sdk ir example that properly emulates the remote behavior?

```

[parker@parker-framework ir]$ ./ir listen
Lib Flirc Version:   3.27.16    
Lib IR Version:      3.27.16    
----------------
0x00000000 - UNKNOWN       -- 0x0000 : 0 : hash: 0x04BFBA18
+1708 -1762 +863 -863 +816 -889 +1740 -1720 +817 -890 +816 -899 +1822 -840 +880 -864 +879 -865 +903 -840 +878  
0000 006D 000B 0000 0041 0043 0021 0021 001F 0022 0042 0042 001F 0022 001F 0022 0046 0020 0021 0021 0021 0021 0022 0020 0021 0783  
+1708 -1762 +863 -863 +816 -889 +1740 -1720 +817 -890 +816 -899 +1822 -840 +880 -864 +879 -865 +903 -840 +878  
----------------
----------------
0x00001B20 - RC5           -- ADD: 0x1B CMD: 0x20 T:1 : 3 : hash: 0x4E91E95F
+1740 -876 +844 -1743 +820 -887 +1765 -1695 +851 -855 +817 -899 +1824 -838 +905 -838 +907 -837 +914 -829 +908  
0000 006D 000B 0000 0022 0022 0022 0044 0022 0022 0044 0044 0022 0022 0022 0022 0044 0022 0022 0022 0022 0022 0022 0022 0022 0434  
+889 -889 +889 -1778 +889 -889 +1778 -1778 +889 -889 +889 -889 +1778 -889 +889 -889 +889 -889 +889 -889 +889  
----------------
----------------
0x00000000 - UNKNOWN       -- 0x0000 : 0 : hash: 0x04BFBA18
+1767 -1704 +900 -825 +848 -858 +1793 -1667 +849 -858 +874 -841 +1850 -812 +934 -810 +930 -813 +931 -812 +934  
0000 006D 000B 0000 0043 0041 0022 001F 0020 0021 0044 0040 0020 0021 0021 0020 0047 001F 0023 001F 0023 001F 0023 001F 0023 0783  
+1767 -1704 +900 -825 +848 -858 +1793 -1667 +849 -858 +874 -841 +1850 -812 +934 -810 +930 -813 +931 -812 +934  
----------------
----------------
0x00001B20 - RC5           -- ADD: 0x1B CMD: 0x20 T:1 : 3 : hash: 0x4E91E95F
+1741 -876 +879 -1709 +817 -889 +1768 -1693 +848 -858 +849 -867 +1853 -809 +934 -811 +933 -810 +934 -810 +933  
0000 006D 000B 0000 0022 0022 0022 0044 0022 0022 0044 0044 0022 0022 0022 0022 0044 0022 0022 0022 0022 0022 0022 0022 0022 0434  
+889 -889 +889 -1778 +889 -889 +1778 -1778 +889 -889 +889 -889 +1778 -889 +889 -889 +889 -889 +889 -889 +889  
----------------


```

 

Posted

Playing with it some more, I can send consecutive scan codes fine if I alternate the type (as expected).

Which means I would have to keep track of two scan codes per button AND have a global state tracker that remembers what the last type sent was...

Hoping there's a better way to do this.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...