Skip to main content
Topic: Critical bug in REC and PLAY (Read 3182 times) previous topic - next topic

Critical bug in REC and PLAY

It is so dangerous delete any copy you have and use the attached .exe. Bad BAD BAD!

Good 'n'
01A6 00D2 001B 0019 001D 0018 001D 0018 
001B 001A 001B 0019 001C 0017 001C 001A
001C 0017 001E 004C 001D 004D 001B 004E
001D 004D 001C 004C 001C 004E 001D 0018
001A 004E 001D 0017 001C 004E 001D 004C
001D 0018 001D 0017 001C 001A 001C 0018
001D 0018 001B 004D 001E 0018 001B 001A
001B 004D 001B 004D 001E 004C 001D 004C
001C 004E 001D 077E 01A5 0068 001D FFFF

Bad 'n'
00A6 00D2 001B 0019 001D 0018 001D 0018
001B 001A 001B 0019 001C 0017 001C 001A
001C 0017 001E 004C 001D 004D 001B 004E
001D 004D 001C 004C 001C 004E 001D 0018
001A 004E 001D 0017 001C 004E 001D 004C
001D 0018 001D 0017 001C 001A 001C 0018
001D 0018 001B 004D 001E 0018 001B 001A
001B 004D 001B 004D 001E 004C 001D 004C
001C 004E 001D 007E 00A5 0068 001D FFFF

Sorry I am not sure how to compile for other OSes.

The updated source code will be part of a complete new IR TOY release soonish. Let me know if you need the beta source to compile for Linux etc in the meantime.

Re: Critical bug in REC and PLAY

Reply #1
Thank you so much! With this version it finally worked for me. Now IR Toy is recording every code just fine and I can finish my "everthing controlled by tablet" project!

Re: Critical bug in REC and PLAY

Reply #2
Thanks a lot!
 Could you also make a source code or bug/fix description available?

Re: Critical bug in REC and PLAY

Reply #3
I've completely forgotten to post about the fix:
File bin.c
line 130:   
Code: [Select]
buffer[c]=(uint8_t)NewIRcode;
I actually can't understand why, but this casting discards values of all bits and returns 0x0.
Casting to int instead of uint8_t worked fine for me.

Re: Critical bug in REC and PLAY

Reply #4
Thanks!
Was on the net for a good few hours trying to find out why the one aircon works fine and the other not.