WagonMaster
Joined: 16 Apr 2009 Posts: 361
|
Posted: Wed Sep 23, 2009 4:56 pm Post subject: RMIR 'Bogus Keys Insertion' Bug In Downloaded Macro |
|
|
While testing the new RMIR version today, I ran into what I think must be a bug in the macro programming or reading code.
It's easy to duplicate:- Run RMIR v1.97. (I'm running it on Linux, but I doubt that matters.)
- Select a clean, baseline load for your remote control. I'm using a "virgin" load on a Radio Shack 15-135 remote.
- Go to the "Macros" tab/page and program a simple macro on the "Audio" button. That is, select the "New" pushbutton, use "Audio" for the "Bound Key", "Key:" selection, select "TV" under the "Available keys:" selection, then select the "Add" pushbutton to define this simple, silly, for-demo-only, 1-key macro.
- Upload that to the RS 15-135 remote.
- Download from the remote and you'll see that the macro definition is now corrupted with approximately 243 "XShift-phantom4" keys added to the end of the macro!
I tried this with other keys for both the "Bound Key" and the actual keys in the macro itself and the problem is still there.
Here's the tail-end of the '.rmir' file saved with the macro programming, before downloading from the remote:
Code: |
[Macro]
KeyCode=162
Data=09
|
And here's the tail-end of the '.rmir' file saved after downloading from the remote:
Code: |
[Macro]
KeyCode=162
Data=09 FF FF FF FF (...) FF FF FF
|
Note that there are a total of 254 'FF' entries there; I've just eliminated most of them to avoid messing up the forum post width.
For completeness, I tried this with my URC-10820 remote too. I see very similar corruption of the macro, but this time with a ton of "XShift-phantom2" keys mysteriously added to the macro. The same pattern of 254 'FF' entries appears at the end of the '.rmir' file which was saved after the download.
I'm guessing this will be easy to duplicate by almost anyone (i.e. with any remote control), but if more details or a file upload are needed, please let me know.
Regards,
Bill |
|