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

Login:
Pass:
 
 

Original thread:
Post 17 made on Friday September 13, 2013 at 02:12
Achin
Long Time Member
Joined:
Posts:
August 2013
32
hi, i have put 
[protocol]
name=necShirrif
irp={38.4k,564}<1,-1|1,-3>(16,-8,F:8:24,F:8:16,F:8:0,F:8:8,1,-78,(16,-4,1,-173)*)[F:0..4294967295] 
this in my 
IrpProtoocols.ini 
and i have used the following code as you suggested in your post

         HashMap parameters = new HashMap();
          long F = 0x40BF48B7L;
            parameters.put("F", F);
        
        IrSignal irSignal = new IrSignal("IrpProtocols.ini", "necshirrif", parameters);//NEC1-f16(nec1-f16) //NEC1//necshirrif
 
        System.out.println("raw data "+irSignal);
        System.out.println("Pronto "+irSignal.ccfString());
        
        ModulatedIrSequence modulatedIrSequence = irSignal.toModulatedIrSequence(1);
        Wave wave = new Wave(modulatedIrSequence, 48000, 8, 1, false, false, true, false);
        wave.export(new File("Powerkey3.wav"));

and heres my raw and pronto code
raw data Freq=38400Hz [9024,-4512,564,-564,564,-564,564,-564,564,-564,564,-564,564,-564,564,-1692,564,-564,564,-1692,564,-1692,564,-1692,564,-1692,564,-1692,564,-1692,564,-564,564,-1692,564,-1692,564,-1692,564,-1692,564,-564,564,-1692,564,-1692,564,-564,564,-1692,564,-564,564,-564,564,-564,564,-1692,564,-564,564,-564,564,-1692,564,-564,564,-43992][9024,-2256,564,-97572][]
Pronto 0000 006C 0022 0002 015B 00AD 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0041 0016 0041 0016 0016 0016 0041 0016 0041 0016 0016 0016 0041 0016 0016 0016 0016 0016 0016 0016 0041 0016 0016 0016 0016 0016 0041 0016 0016 0016 0699 015B 0057 0016 0EA3
 
and when i play the created wav file in front of my hardware it decodes 
23F2C57
Unknown encoding: 23F2C57 (32 bits)
Raw (68): -29686 8900 -4450 600 -550 500 -600 650 -500 600 -500 500 -700 500 -550 450 -1750 600 -500 500 -1750 450 -1850 500 -1600 650 -1550 550 -1750 450 -1750 600 -500 500 -1750 450 -1750 650 -1600 600 -1600 550 -700 450 -1600 650 -1600 550 -700 450 -1650 600 -500 650 -450 550 -800 400 -1600 600 -500 600 -550 500 -1700 650 -450 600 
65EA3242
Unknown encoding: 65EA3242 (32 bits)
Raw (40): -32504 450 -1650 650 -500 500 -1750 550 -1650 600 -1600 650 -1550 650 -600 500 -1600 650 -1600 550 -650 500 -1600 650 -500 600 -500 500 -600 650 -1550 650 -500 650 -450 500 -1750 600 -500 600 
Decoded NEC: FFFFFFFF (0 bits)
Raw (4): 21936 9000 -2150 550 
216D2D4A

as i have IR library you can check in this link [Link: neoxy-yx.blogspot.in] please see the MAPPED POWER KEY of a Sony remote  pic named 
it gives me the above output i posted and not working with my TV
 when i play the created wav file in front of my hardware
 
 


Hosting Services by ipHouse