Your Universal Remote Control Center
RemoteCentral.com
General Consumer Remotes Forum - View Post
Previous section Next section Up level
Up level
The following page was printed from RemoteCentral.com:

Login:
Pass:
 
 

Topic:
How to load CCF file into Android for IR Blasting (Samsung S5)?
This thread has 6 replies. Displaying all posts.
Post 1 made on Friday January 31, 2020 at 03:42
daws0n
New Member
Joined:
Posts:
January 2020
5
Hi

I am really pleased to have found this site, I have just required an old amplifier that did not come with a remote control. The chances of finding a replacement are very slim.

Someone has very helpfully uploaded a .CCF file to this device which I have downloaded

[Link: files.remotecentral.com]

I don't have a Philips pronto remote, but I am wondering if I can import this somehow onto my Samsung S5 Android Phone? I could then use it's built in IR blaster to control the amplifier.

Any guidance or comments would be greatly appreciated.

Thanks!
Post 2 made on Friday January 31, 2020 at 08:13
Barf
Long Time Member
Joined:
Posts:
August 2013
220
Install IrScrutinizer on a PC (not the Android device). Import the ccf file. Then export it (or a subset thereof) into a format that an app on the Android device can use, for example as irplus -- requires the irplus app, free of charge for the ad-version. I am sure there are other alternatives too.
OP | Post 3 made on Friday January 31, 2020 at 08:36
daws0n
New Member
Joined:
Posts:
January 2020
5
Thanks kindly for the helpful response.

Unfortunately iRScrutinizer crashes when loading the file.

Erroneous signal: wrong repeat length

The file was created in 2002.

It loads using CCF Extractor, but I can't save to IrTrans format (Access violation).

The good news however, is that I am able to view the codes and all the buttons I need are there.

E.g DIM

0000 006B 0026 0000 0154 00AD 0016 0041 0016 0040 0016 0041 0016 0016 0016 0015 0016 0016 0016 0015 0016 0040 0016 0016 0016 0015 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0040 0016 0015 0016 0015 0016 0015 0016 0016 0016 0015 0016 0041 0016 0040 0016 0016 0016 0040 0016 0041 0016 0041 0016 0041 0016 0041 0016 0015 0016 0016 0016 05D6 015B 0056 0016 0E78 015B 0056 0016 00AD

VOLU

0000 012E 0026 0000 0150 003D 0016 0016 0016 0016 0016 0016 0016 0007 0016 0007 0016 0007 0016 0007 0016 0016 0016 0007 0016 0007 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0007 0016 0007 0016 0007 0016 0007 0016 0007 0016 0007 0016 0007 0016 0016 0016 0016 0017 0016 0016 0016 0016 0016 0017 0016 0016 0016 0017 0016 0016 0007 0016 0007 0016 0211 015B 001E 0016 0520 015B 001E 0016 003D

---------

Any idea how I can handle these codes and translate them into a format my phone's IR blaster can broadcast?
Post 4 made on Friday January 31, 2020 at 10:56
Barf
Long Time Member
Joined:
Posts:
August 2013
220
First of all, IrScrutinizer does not crash, at least not the current version. It warns since some of the Pronto Hex is incorrect; the incorrect signals do not decode, but the other signals can be used.

I had a look at the file, and considered that it is probably not too dangerous to be "forgiving" for these errors. Try this version:
[Link: github.com]

Then you can export them into e.g. the irplus format that an Android app uses. This answers you second question.
OP | Post 5 made on Friday January 31, 2020 at 18:14
daws0n
New Member
Joined:
Posts:
January 2020
5
Thanks again for your help Barf - bad choice of words of my side, you are correct it was not a crash per se just an error message.

The version you linked to loads the files without producing an error but I am having problems exporting it. I am only interested in the entries commented "MKII/MKII 1".

On the scrutinize remote tab, I highlight the required rows in the "Parametric Remote" window. Right click, then choose "Export selected". The console window then produces the following text:

Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at org.harctoolbox.girr.Command.(Command.java:386)
at org.harctoolbox.girr.Command.(Command.java:379)
at org.harctoolbox.irscrutinizer.ParametrizedIrSignal.toCommand(ParametrizedIrSignal.java:211)
at org.harctoolbox.irscrutinizer.ParametrizedIrSignal$ParameterIrSignalTableModel.toCommand(ParametrizedIrSignal.java:449)
at org.harctoolbox.irscrutinizer.TableUtils.commandTableSelected(TableUtils.java:140)
at org.harctoolbox.irscrutinizer.GuiMain.saveSelectedSignals(GuiMain.java:1322)
at org.harctoolbox.irscrutinizer.GuiMain.exportSelectedCookedMenuItemActionPerformed(GuiMain.java:8055)
at org.harctoolbox.irscrutinizer.GuiMain.access$4900(GuiMain.java:104)
at org.harctoolbox.irscrutinizer.GuiMain$39.actionPerformed(GuiMain.java:2792)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)


Would you mind attempting to export these lines yourself to see if this error is repeatable?
OP | Post 6 made on Friday January 31, 2020 at 18:50
daws0n
New Member
Joined:
Posts:
January 2020
5
OK, I have found out the reason for the message above...

The MAX VOLU command was missing entries for the "protocol" and "D" columns. I've populated these with jvc / 135 as per the other lines and it's exporting OK now.
Post 7 made on Sunday February 2, 2020 at 07:27
Barf
Long Time Member
Joined:
Posts:
August 2013
220
The thread continues here: [Link: hifi-remote.com]


Jump to


Protected Feature Before you can reply to a message...
You must first register for a Remote Central user account - it's fast and free! Or, if you already have an account, please login now.

Please read the following: Unsolicited commercial advertisements are absolutely not permitted on this forum. Other private buy & sell messages should be posted to our Marketplace. For information on how to advertise your service or product click here. Remote Central reserves the right to remove or modify any post that is deemed inappropriate.

Hosting Services by ipHouse