I discovered a bug in the IRBlaster plugin that occurs with 64-bit versions of Perl when the remote codes are >32-bit codes.
I was trying to get IRBlaster to work with my SB Touch with LMS running on a RPi3 with Stretch. I could not get the IR transmitter to operate the receiver.
After some digging around I discovered this bug in IRBlaster/Plugin.pm, which occurs in some code that was apparently intended to fix an earlier bug with >32-bit codes for 32-bit versions of Perl. It turns out that if integers are 64-bits, and the total length of the code string (pre-data plus code plus post-data) exceeds 32 bits, the code will be improperly formatted.
I have a fix, attached.
-Alan
I was trying to get IRBlaster to work with my SB Touch with LMS running on a RPi3 with Stretch. I could not get the IR transmitter to operate the receiver.
After some digging around I discovered this bug in IRBlaster/Plugin.pm, which occurs in some code that was apparently intended to fix an earlier bug with >32-bit codes for 32-bit versions of Perl. It turns out that if integers are 64-bits, and the total length of the code string (pre-data plus code plus post-data) exceeds 32 bits, the code will be improperly formatted.
I have a fix, attached.
-Alan