which api

The place where software developers meet

Moderator: marcus

which api

Postby Fischer » Wed 3. Dec 2008, 22:08

hello,
i am interesting in sending ccf codes to my device.
Bur i am a little confused between :
- files containing ccf code in remote directory
- C api like SendCCFCommand() function
- tcp/ip api (socket api) like in irclient application.

I don't know the best solution.
I need to send specifics ccf pront code format : this means that a build the ccf pronto depending on whole state of the remote command.
The remote command does not send simple code : pressed on one button but send the whole state :
- temp, fan, button, on/off, ..........

Can youu give me a help please.
thanks
Fischer
 
Posts: 31
Joined: Thu 20. Nov 2008, 18:16

Re: which api

Postby IRTrans » Thu 4. Dec 2008, 00:42

Hi,
the result will always be the same.

Generally it is the easiest way to put the CCF Codes into the .rem files.

The other APIs only depend on how you want to write your programm - using a DLL or accessing sockets directly.

In general I would not recommend to use CCF Codes for that form of commands - CCF Codes are quite limited.
Learning the codes using the IRTrans devices gives you native codes that are a lot more precise.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: which api

Postby Fischer » Thu 4. Dec 2008, 05:35

hello,

but my remote control sends CCF codes.
The rc sends the whole state, that means i have a lot of codes. If a want to be complete,
i have more than 50 codes. Thats why my idea was to generate the pronto code myself.
But tell me more about the native codes.
What are the differences between ccf and native ?

thanks
Fischer
 
Posts: 31
Joined: Thu 20. Nov 2008, 18:16

Re: which api

Postby IRTrans » Thu 4. Dec 2008, 11:13

Hi,
your remote control will send IR Codes ;) - CCF is only a format to describe them.

While generating the CCF Codes might be possible it will be a lot of work - especially without having any documentation.
Furthermore the Pronto CCF Codes are a RAW format that is quite complicated to generate.

Native codes is the format the IRTrans device uses. Simply open a .rem file to see how it looks.
These codes have a big advantage: Timings and IR Data is stored separatly. That means you only have to change the data while leaving the timings as they are.

However, I am almost sure it will be faster, easier and more reliable to simply learn all the needed IR Codes and store them in an IRTrans .rem file.

IRTrans
IRTrans
Administrator
 
Posts: 2115
Joined: Mon 21. Apr 2008, 23:32

Re: which api

Postby Fischer » Thu 4. Dec 2008, 12:36

Hi,
next week (i hope) i will have my irtrans.
I will examine all these things.
i am decoding the codes sent by my remote control, without documentation ....
I already looked the .rem format.

For the reliabilty, i am sure your right.
The main think is that sending these codes is working.

Thanks
Fischer
 
Posts: 31
Joined: Thu 20. Nov 2008, 18:16


Return to APIs

Who is online

Users browsing this forum: No registered users and 30 guests