Hi,
I have played a bit yesterday with my USBIRTOY and here are the results ...
First, I had upgraded the USBIRTOY to V102 with a PC running XP Pro 32 bits.
I have started my terminal program : Hercules 3.2.3.
I have used the right mouse button on the terminal window in order to enable the Local Echo and the Hex Enable mode.
I have used the X letter to enable the IRIO mode on the USBIRTOY, it answer back X01.
I have pushed a button from my IR remote for few seconds ...
I did saw the following code on my terminal :
{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{00}{00}{00}{07}{E0}{FC}{1F}{83}{F0}{00}{07}{C1}{F8}{1F}{03}{E0}{7E}{00}{01}{F0}{00}{07}{C0}{00}{3F}{07}{E0}{00}{1F}{00}{00}{7C}{00}{03}{F0}{00}{0F}{C1}{F8}{00}{07}{E0}{FC}{00}{03}{F0}{7E}{0F}{C1}{F8}{1F}{00}{00}{FC}{1F}{80}{00}{7E}{0F}{C0}{00}{3F}{00}{00}{F8}{00}{03}{E0}{00}{1F}{00}{00}{00}{00}{00}{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}
Then I have cleaned the result obtained with the Notepad, like this :
{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{00}{00}{00}{07}{E0}{FC}{1F}{83}{F0}{00}{07}{C1}{F8}{1F}{03}{E0}{7E}{00}{01}{F0}{00}{07}{C0}{00}{3F}{07}{E0}{00}{1F}{00}{00}{7C}{00}{03}{F0}{00}{0F}{C1}{F8}{00}{07}{E0}{FC}{00}{03}{F0}{7E}{0F}{C1}{F8}{1F}{00}{00}{FC}{1F}{80}{00}{7E}{0F}{C0}{00}{3F}{00}{00}{F8}{00}{03}{E0}{00}{1F}{00}{00}{00}{00}{00}
{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}
I have used the Replace function to remove the { and to replace the } by a space which give :
7F FF FF FF FF FF FF FF FF FF FF 80 00 00 00 00 07 E0 FC 1F 83 F0 00 0F C1 F8 3F 03 E0 7C 00 01 F0 00 0F C0 00 3F 07 E0 00 1F 00 00 7C 00 03 F0 00 0F 80 00 3E 00 01 F8 00 07 E0 FC 00 03 E0 7E 00 01 F0 3E 07 E0 FC 1F 80 00 7E 0F C0 00 3F 07 E0 00 1F 00 00 00 00 00 7F FF FF FF FF FF FF FF FF FF FF 00 00 03 F0 00 00 00 00 00
Then I did used the same terminal program to send 03 in hexadecimal to the USBIRTOY so I can send back the data already formatted in bytes back to my TV.
Then I did used again the terminal program to send this command to my USBIRTOY to my TV :
7F FF FF FF FF FF FF FF FF FF FF 80 00 00 00 00 07 E0 FC 1F 83 F0 00 0F C1 F8 3F 03 E0 7C 00 01 F0 00 0F C0 00 3F 07 E0 00 1F 00 00 7C 00 03 F0 00 0F 80 00 3E 00 01 F8 00 07 E0 FC 00 03 E0 7E 00 01 F0 3E 07 E0 FC 1F 80 00 7E 0F C0 00 3F 07 E0 00 1F 00 00 00 00 00 7F FF FF FF FF FF FF FF FF FF FF 00 00 03 F0 00 00 00 00 00
and it works !
So what remains to do is to grab all my remotes button.
Clean the result and store them in a file.
Either use VB6 or may be Autoit V3 and use Cron to implement a working free solution in order to schedule and record my TV shows ...
I will keep you posted...
Reg
Is it possible to store a couple of codes in the IR Toy and with the help of a timer do the same thing, without having to leave the computer on, connected instead to a battery pack or the wall socket.
A feature request?
[quote author="liyin"]
Is it possible to store a couple of codes in the IR Toy and with the help of a timer do the same thing, without having to leave the computer on[/quote]So-called "macro" functionality (whether triggered by incoming command, local button or on-chip timer) has already been one of the feature requests for a while: http://dangerousprototypes.com/forum/in ... 76#msg4576 (http://dangerousprototypes.com/forum/index.php?topic=490.msg4576#msg4576)
(Importantly, the vast library at http://www.LIRC.org/remotes (http://www.LIRC.org/remotes) should be usable even in stand-alone operation, natively or through conversion on upload to the Toy.)
Others are RF support (actually a simplification rather than an extra feature, as it just means being able to send without the extra modulation required for IR) and the use of the UART (adding an option for the standard voltage converter to the circuit board) for serial control e.g. of a display or an AV receiver through their RS232C ports.