I need help to decode CCF file

General JP1 chit-chat. Developing special protocols, decoding IR signals, etc. Also a place to discuss Tips, Tricks, and How-To's.

Moderator: Moderators

Post Reply
pbraida
Posts: 3
Joined: Fri Aug 28, 2009 2:25 pm

I need help to decode CCF file

Post by pbraida »

Hello, i would like to know, if anybody have a doc with the CCF expecification ? I need to know how i calculate de freq and the delays.

Tankyou for now.
ElizabethD
Advanced Member
Posts: 2348
Joined: Mon Feb 09, 2004 12:07 pm

Post by ElizabethD »

Likely in the zip file, in the ReadMe.txt.
https://www.hifi-remote.com/forums/dload ... le_id=1887
The output headings I have in excel were
Protocol,Device,SubDev,OBC,EFC,Misc,Decode,UDB,Function,Sequence,Key,Panel,DevName,TopFreq,Once,Rept
The TopFreq might be it. I think it showed up for me under the Once heading.
Liz
Tweeking 8910, HTPro/9811, C7-7800, 6131o, 6131n, AtlasOCAP-1056B01, RCA-RCRP05B and enjoying the ride :)
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

Liz is telling you how to use a program I wrote that extracts the IR signals from a CCF file and then uses DecodeIr.dll to decode them. It also displays the modulation frequency and can display the timing details. So if your objective is to get info about IR signals in CCF files, that may be the easiest way.

But you asked about documentation of the format. Long ago I downloaded a file CCF_format.txt from the Tonto project. That file gives confusing, incomplete, obsolete info about the CCF file format, but I never found anything better. It is close enough to use (with significant effort).

I couldn't find where I downloaded it from. Probably it is no longer where I got it. But I did a google search and found this site
http://www.etcwiki.org/wiki/Open_CCF_Files
Which has a copy of what appears to be the same CCF_format.txt file as well as a related free program (I haven't tried that) and some useful links.

I think you'll find writing your own program to read CCF to be a lot of work, and using my DecodeCCF.exe should be easier. But now you have both choices.

The source code of DecodeCCF is available. If you don't like its output format or which information it chooses to display for which signals, that should be very easy to change (much easier than writing a new program to read CCF files).
pbraida
Posts: 3
Joined: Fri Aug 28, 2009 2:25 pm

Post by pbraida »

Tankyou, but i will write a microcontroler firmware that emite ir, for any device by CCF hex codes, and i need to know, how i calc freq. and times delays.
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

pbraida wrote:i will write a microcontroler firmware that emite ir, for any device by CCF hex codes, and i need to know, how i calc freq. and times delays.
Inside the CCF files, the IR signals are stored in a form called "Pronto Hex". You can also find IR signals in Pronto Hex in many online sources other than CCF files.

So, if you really want to emit IR based on CCF files, you need to know how to extract the Pronto Hex from the CCF file and how to understand the Pronto Hex.

There are several open source programs, including DecodeCCF, that read CCF files, so to extract the Pronto Hex you should take that part of the source code from one of those programs.

You may want to look at some parts of DecodeCCF that convert the Pronto Hex into frequency and timing info, but you probably need to understand Pronto Hex yourself.

The most understandable documentation of the basic concepts of the most common form of Pronto Hex is Barry Gordon's document:
http://www.hifi-remote.com/infrared/IR-PWM.shtml
That covers over 90% of the Pronto Hex you are likely to see.
Eigeny Oulinov's document is much more complete (but also not 100%) and would be needed if you want more complete coverage. But it is very hard to understand:
http://www.hifi-remote.com/infrared/prontoirformats.pdf

If you want to emit IR signals but don't have a very strong reason for taking them straight from CCF files, it would work much better to take the signals in IRP notation. That would avoid duplicating any glitches that were introduced in learning the signals and greatly reduces the size of the data you would need for a large library of signals. Look at the MakeHex program for an example using an older cruder version of IRP. There are various discussions of more complete and concise IRP notation elsewhere in this forum.
pbraida
Posts: 3
Joined: Fri Aug 28, 2009 2:25 pm

Post by pbraida »

Tankyou very much, this is it !!!!!!!!!!!! 8-)
Post Reply