« Return to Thread: New tool for converting pronto hex codes to lircd.conf

Re: New tool for converting pronto hex codes to lircd.conf

by Olavi Akerman :: Rate this Message:

Reply to Author | View in Thread

cassioli wrote:

> Very interesting program.
> If you can comment it a bit more, I could try to port it to BASIC: RapidQ
> basic compiler can produce standalone executables for both windows and linux
> (and maybe Mac), even with GUI.
>
> How can I use this program to convert Pronto raw codes rather than a CCF
> file (which I do not have)?
>
> These are the codes:
> DVD ON
>
> 0000 006d 0022 0003 00ab 00aa 0016 003f 0016 0014 0016 003e 0016 003f 0016
> 0014 0016 003e 0016 0014 0016 0014 0016 003e 0016 0014 0016 003e 0016 003f
> 0016 0014 0016 003e 0016 0014 0016 0014 0016 003e 0016 0014 0016 003f 0016
> 0014 0016 003e 0016 003e 0016 003f 0016 0014 0016 0014 0016 003f 0016 0014
> 0016 003e 0016 0014 0016 0014 0016 0014 0016 003e 0016 06c3 00ab 00aa 0016
> 0014 0016 0e7d
>
> DVD OFF
>
> 0000 006d 0022 0003 00ab 00aa 0016 003e 0016 0014 0016 003f 0016 003e 0016
> 0014 0016 003e 0016 0014 0016 0014 0016 003e 0016 0014 0016 003f 0016 003e
> 0016 0014 0016 003f 0016 0014 0016 0014 0016 0014 0016 003e 0016 003f 0016
> 0014 0016 003e 0016 003f 0016 003e 0016 0014 0016 003f 0016 0014 0016 0014
> 0016 003e 0016 0014 0016 0014 0016 0014 0016 003e 0016 06c3 00ab 00aa 0016
> 0014 0016 0e7d
>
> A simple lirc raw sequence would be enough (no need to analyse the file
> looking for known patterns/protocols).
>
>
>
>  
Hello

Just create a file with 2 rows each containing the whole sequence of
commands:

DVDON:0000 006d 0022 0003 00ab 00aa 0016 003f 0016 0014 0016 003e 0016
003f 0016 0014 0016 003e 0016 0014 0016 0014 0016 003e 0016 0014 0016
003e 0016 003f 0016 0014 0016 003e 0016 0014 0016 0014 0016 003e 0016
0014 0016 003f 0016 0014 0016 003e 0016 003e 0016 003f 0016 0014 0016
0014 0016 003f 0016 0014 0016 003e 0016 0014 0016 0014 0016 0014 0016
003e 0016 06c3 00ab 00aa 0016 0014 0016 0e7d
DVDOFF:0000 006d 0022 0003 00ab 00aa 0016 003e 0016 0014 0016 003f 0016
003e 0016 0014 0016 003e 0016 0014 0016 0014 0016 003e 0016 0014 0016
003f 0016 003e 0016 0014 0016 003f 0016 0014 0016 0014 0016 0014 0016
003e 0016 003f 0016 0014 0016 003e 0016 003f 0016 003e 0016 0014 0016
003f 0016 0014 0016 0014 0016 003e 0016 0014 0016 0014 0016 0014 0016
003e 0016 06c3 00ab 00aa 0016 0014 0016 0e7d

Use this file as an input parameter. Please note that the whole sequence
for a each command should be on the same line.

Olavi

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php

 « Return to Thread: New tool for converting pronto hex codes to lircd.conf