START UnitTest.cpp from Feb 24 2023 Using library version 4.1.0 Ready to receive IR signals of protocols: NEC/NEC2/Onkyo/Apple, Panasonic/Kaseikyo, Denon/Sharp, Sony, RC5, RC6, LG, JVC, Samsung, Bang & Olufsen, FAST, Bosewave , MagiQuest, Universal Pulse Distance Width, Hash at pin 14 Send IR signals at pin 12 If you connect debug pin 13 to ground, raw data is always printed Send signal mark duration for 38kHz is 8 us, pulse narrowing correction is 600 ns, total period is 26 us 16000 us is the (minimum) gap, after which the start of a new IR packet is assumed 100 us are subtracted from all marks and added to all spaces for decoding address=0xFFF1 command=0x76 Send NEC with 8 bit address Protocol=NEC Address=0xF1 Command=0x76 Raw-Data=0x89760EF1 32 bits LSB first Send with: IrSender.sendNEC(0xF1, 0x76, ); rawData[68]: -1050650 +9050,-4450 + 650,-1600 + 700,- 450 + 650,- 500 + 650,- 450 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,- 450 + 650,-1600 + 650,-1650 + 650,-1600 + 650,- 450 + 700,- 450 + 650,- 500 + 650,- 450 + 700,- 450 + 650,-1600 + 650,-1600 + 700,- 450 + 650,-1600 + 650,-1600 + 700,-1600 + 650,- 450 + 700,-1600 + 650,- 450 + 700,- 450 + 650,-1600 + 650,- 500 + 650,- 450 + 700,- 450 + 650,-1600 + 700 Sum: 68500 Send NEC with 16 bit address Protocol=NEC Address=0xFFF1 Command=0x76 Raw-Data=0x8976FFF1 32 bits LSB first Send with: IrSender.sendNEC(0xFFF1, 0x76, ); rawData[68]: -1060200 +9050,-4400 + 650,-1600 + 650,- 500 + 650,- 450 + 700,- 450 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,- 500 + 650,-1600 + 650,-1600 + 650,- 500 + 650,-1600 + 650,-1600 + 650,-1650 + 650,- 450 + 650,-1600 + 700,- 450 + 650,- 500 + 650,-1600 + 650,- 500 + 650,- 450 + 650,- 500 + 650,-1600 + 650 Sum: 74050 Send NEC2 with 16 bit address Protocol=NEC Address=0xFFF1 Command=0x76 Raw-Data=0x8976FFF1 32 bits LSB first Send with: IrSender.sendNEC(0xFFF1, 0x76, ); rawData[68]: -1060450 +9050,-4450 + 650,-1600 + 650,- 500 + 650,- 450 + 650,- 500 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,- 500 + 650,-1600 + 650,-1600 + 650,- 500 + 650,-1600 + 650,-1600 + 700,-1600 + 650,- 500 + 650,-1600 + 650,- 500 + 650,- 500 + 650,-1600 + 650,- 450 + 700,- 450 + 650,- 500 + 650,-1600 + 650 Sum: 74150 Send NEC Pronto data with 8 bit address 0x80 and command 0x45 and no repeats Protocol=NEC Address=0x80 Command=0x45 Raw-Data=0xBA457F80 32 bits LSB first Send with: IrSender.sendNEC(0x80, 0x45, ); rawData[68]: -1065600 +9200,-4400 + 700,- 450 + 700,- 450 + 700,- 500 + 650,- 500 + 700,- 500 + 650,- 500 + 650,- 550 + 700,-1550 + 700,-1550 + 700,-1550 + 700,-1550 + 650,-1550 + 700,-1550 + 700,-1550 + 700,-1550 + 700,- 450 + 700,-1550 + 650,- 500 + 650,-1600 + 700,- 450 + 700,- 450 + 700,- 450 + 700,-1550 + 700,- 450 + 750,- 450 + 700,-1500 + 700,- 450 + 700,-1550 + 700,-1550 + 700,-1550 + 700,- 450 + 700,-1550 + 700 Sum: 68800 Send NEC sendRaw data with 8 bit address=0xFB04 and command 0x08 and exact timing (16 bit array format) Protocol=NEC Address=0x4 Command=0x8 Raw-Data=0xF708FB04 32 bits LSB first Send with: IrSender.sendNEC(0x4, 0x8, ); rawData[68]: -1066550 +9150,-4400 + 650,- 500 + 650,- 450 + 700,-1600 + 650,- 450 + 700,- 450 + 650,- 500 + 650,- 450 + 650,- 500 + 650,-1600 + 700,-1600 + 650,- 450 + 700,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1650 + 650,- 450 + 700,- 450 + 650,- 500 + 650,-1600 + 650,- 500 + 650,- 450 + 700,- 450 + 650,- 500 + 650,-1600 + 650,-1600 + 700,-1600 + 650,- 500 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 700 Sum: 68700 Send ONKYO with 16 bit address 0x0102 and 16 bit command 0x0304 with NECRaw(0x03040102) Protocol=Onkyo Address=0x102 Command=0x304 Raw-Data=0x3040102 32 bits LSB first Send with: IrSender.sendOnkyo(0x102, 0x304, ); rawData[68]: -1064800 +9050,-4450 + 650,- 450 + 650,-1600 + 700,- 450 + 650,- 500 + 650,- 450 + 650,- 500 + 650,- 500 + 650,- 450 + 650,-1600 + 700,- 450 + 700,- 450 + 650,- 500 + 650,- 450 + 650,- 500 + 650,- 450 + 700,- 450 + 650,- 500 + 650,- 450 + 700,-1600 + 650,- 450 + 650,- 500 + 650,- 450 + 650,- 500 + 650,- 500 + 650,-1600 + 650,-1600 + 650,- 500 + 650,- 450 + 650,- 550 + 650,- 500 + 600,- 500 + 650,- 500 + 650 Sum: 56050 Send ONKYO with 16 bit address 0x0102 and command 0x34 with old 32 bit format MSB first (0x40802CD3) Protocol=NEC Address=0x102 Command=0x34 Raw-Data=0xCB340102 32 bits LSB first Send with: IrSender.sendNEC(0x102, 0x34, ); rawData[68]: -1066900 +9050,-4400 + 650,- 500 + 650,-1600 + 650,- 500 + 650,- 450 + 650,- 500 + 650,- 450 + 700,- 450 + 650,- 500 + 650,-1600 + 650,- 500 + 650,- 450 + 650,- 550 + 650,- 450 + 700,- 450 + 650,- 500 + 650,- 450 + 650,- 500 + 650,- 450 + 700,-1600 + 650,- 450 + 700,-1600 + 650,-1600 + 650,- 500 + 650,- 450 + 650,-1600 + 700,-1600 + 600,- 500 + 650,-1650 + 650,- 450 + 700,- 450 + 650,-1600 + 650,-1600 + 700 Sum: 61700 Send Panasonic 0xB, 0x10 as 48 bit generic PulseDistance using ProtocolConstants Protocol=Panasonic Address=0x10B Command=0xA0 Raw-Data=0xA010B02002 48 bits LSB first Send with: IrSender.sendPanasonic(0x10B, 0xA0, ); rawData[100]: -1064700 +3550,-1650 + 550,- 350 + 500,-1250 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 450,-1300 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,-1250 + 500,-1250 + 500,- 350 + 500,-1250 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,-1250 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 550,- 350 + 500,- 350 + 550,- 350 + 500,- 350 + 500,-1250 + 500,- 400 + 500,-1250 + 500,- 350 + 550,- 350 + 500,- 350 + 550,- 350 + 500,- 350 + 550,- 350 + 500,- 400 + 500,- 350 + 500 Sum: 54750 Send Panasonic 0xB, 0x10 as generic 48 bit PulseDistance LSB first Protocol=Panasonic Address=0x10B Command=0xA0 Raw-Data=0xA010B02002 48 bits LSB first Send with: IrSender.sendPanasonic(0x10B, 0xA0, ); rawData[100]: -1082450 +3550,-1600 + 550,- 350 + 550,-1150 + 550,- 300 + 600,- 300 + 550,- 300 + 550,- 300 + 600,- 300 + 550,- 300 + 550,- 300 + 550,- 350 + 550,- 300 + 550,- 350 + 550,- 300 + 550,-1200 + 550,- 300 + 550,- 300 + 550,- 350 + 550,- 300 + 550,- 300 + 550,- 350 + 550,-1150 + 550,-1200 + 550,- 300 + 550,-1200 + 550,- 300 + 550,- 300 + 550,- 300 + 600,- 300 + 550,-1150 + 600,- 300 + 550,- 300 + 550,- 300 + 550,- 350 + 550,- 300 + 550,- 350 + 550,- 300 + 550,- 300 + 550,-1200 + 550,- 300 + 550,-1200 + 550,- 300 + 550,- 300 + 600,- 300 + 550,- 300 + 550,- 300 + 600,- 300 + 550,- 300 + 550,- 300 + 550 Sum: 54200 MSB first Protocol=Panasonic Address=0xB Command=0x10 Raw-Data=0xA01000B02002 48 bits LSB first Send with: IrSender.sendPanasonic(0xB, 0x10, ); rawData[100]: -1076300 +3550,-1600 + 550,- 350 + 550,-1150 + 550,- 300 + 600,- 300 + 550,- 300 + 600,- 300 + 550,- 300 + 550,- 300 + 600,- 300 + 550,- 300 + 550,- 300 + 600,- 300 + 550,- 300 + 550,-1200 + 550,- 300 + 550,- 300 + 550,- 350 + 550,- 300 + 550,- 300 + 550,- 350 + 550,-1150 + 550,-1200 + 550,- 300 + 550,-1200 + 550,- 300 + 550,- 300 + 550,- 350 + 550,- 300 + 550,- 350 + 550,- 350 + 550,- 300 + 550,- 300 + 550,- 350 + 550,- 300 + 550,- 300 + 550,- 350 + 550,-1150 + 550,- 300 + 600,- 300 + 550,- 300 + 550,- 300 + 600,- 300 + 550,- 300 + 550,- 300 + 600,- 300 + 550,-1150 + 550,- 350 + 550,-1150 + 550 Sum: 54250 Send generic 72 bit PulseDistance 0x5A AFEDCBA9 87654321 LSB first Protocol=PulseDistance Raw-Data=0x5A 72 bits LSB first Send with: uint64_t tRawData[]={0xAFEDCBA987654321, 0x5A}; IrSender.sendPulseDistanceWidthFromArray(38, 9000, 4350, 650, 1600, 650, 500, &tRawData[0], 72, PROTOCOL_IS_LSB_FIRST, , ); rawData[148]: -1082050 +9000,-4350 + 700,-1600 + 650,- 500 + 700,- 500 + 650,- 500 + 650,- 550 + 650,-1600 + 650,- 550 + 650,- 500 + 700,-1600 + 650,-1650 + 650,- 500 + 650,- 500 + 700,- 500 + 650,- 500 + 650,-1650 + 650,- 500 + 650,-1650 + 650,- 500 + 650,-1650 + 650,- 500 + 650,- 550 + 650,-1600 + 650,-1650 + 650,- 500 + 650,-1650 + 650,-1600 + 700,-1600 + 650,- 500 + 700,- 500 + 650,- 500 + 700,- 500 + 650,-1600 + 700,-1600 + 650,- 500 + 700,- 500 + 650,-1600 + 700,- 500 + 650,-1650 + 600,- 550 + 700,-1600 + 650,-1650 + 650,-1600 + 650,- 550 + 650,-1600 + 700,- 500 + 650,- 500 + 650,-1650 + 650,-1600 + 650,-1650 + 650,- 500 + 700,-1600 + 650,-1650 + 650,- 500 + 650,-1650 + 650,-1600 + 700,-1600 + 650,-1650 + 650,-1600 + 700,-1600 + 650,-1650 + 650,- 500 + 650,-1650 + 650,- 500 + 700,-1600 + 650,- 500 + 700,-1600 + 650,- 550 + 650,-1600 + 650,-1650 + 650,- 500 + 650,-1650 + 650,- 500 + 650 Sum: 140550 Send generic 52 bit PulseDistanceWidth 0xDCBA9 87654321 LSB first Protocol=PulseWidth Raw-Data=0xDCBA987654321 52 bits LSB first Send with: IrSender.sendPulseDistanceWidth(38, 400, 550, 750, 150, 400, 500, 0xDCBA987654321, 52, PROTOCOL_IS_LSB_FIRST, , ); rawData[106]: -1120100 + 400,- 550 + 700,- 150 + 450,- 500 + 400,- 550 + 400,- 500 + 400,- 500 + 700,- 150 + 450,- 550 + 400,- 500 + 700,- 150 + 800,- 150 + 450,- 500 + 400,- 500 + 400,- 550 + 350,- 550 + 700,- 200 + 400,- 550 + 700,- 200 + 400,- 500 + 750,- 200 + 400,- 500 + 400,- 550 + 700,- 150 + 750,- 200 + 450,- 500 + 700,- 150 + 750,- 200 + 750,- 150 + 450,- 500 + 400,- 550 + 400,- 500 + 400,- 500 + 700,- 150 + 800,- 150 + 450,- 500 + 400,- 500 + 750,- 150 + 450,- 500 + 700,- 200 + 450,- 500 + 700,- 250 + 700,- 150 + 800,- 150 + 450,- 500 + 700,- 200 + 450,- 500 + 400,- 500 + 700,- 200 + 750,- 150 + 750,- 150 + 450,- 550 + 700,- 200 + 700 Sum: 48450 Send generic 32 bit PulseWidth 0x87654321 LSB first Protocol=PulseWidth Raw-Data=0x87654321 32 bits LSB first Send with: IrSender.sendPulseDistanceWidth(38, 1100, 400, 750, 200, 450, 200, 0x87654321, 32, PROTOCOL_IS_LSB_FIRST, , ); rawData[66]: -1090450 +1100,- 400 + 700,- 150 + 450,- 200 + 450,- 150 + 450,- 200 + 400,- 200 + 750,- 150 + 450,- 150 + 450,- 200 + 700,- 200 + 750,- 200 + 400,- 200 + 400,- 200 + 450,- 150 + 450,- 150 + 750,- 150 + 450,- 200 + 750,- 200 + 400,- 200 + 750,- 150 + 450,- 150 + 450,- 200 + 700,- 200 + 750,- 200 + 400,- 200 + 750,- 150 + 750,- 200 + 700,- 200 + 450,- 150 + 450,- 200 + 400,- 200 + 450,- 150 + 750 Sum: 24900 Send MagiQuest 0x6BCDFF00, 0x176 as generic 55 bit PulseDistanceWidth MSB first Protocol=MagiQuest Address=0xFF00 Command=0x176 Raw-Data=0x6BCDFF00 56 bits MSB first Send with: IrSender.sendMagiQuest(0x6BCDFF00, 0x176, ); rawData[112]: -1070250 + 400,- 800 + 400,- 750 + 450,- 800 + 400,- 750 + 400,- 800 + 400,- 750 + 400,- 800 + 400,- 750 + 700,- 500 + 650,- 500 + 400,- 800 + 650,- 500 + 400,- 800 + 650,- 500 + 700,- 500 + 650,- 500 + 700,- 450 + 450,- 750 + 400,- 750 + 700,- 500 + 700,- 450 + 400,- 800 + 700,- 450 + 700,- 500 + 700,- 500 + 650,- 500 + 700,- 450 + 700,- 500 + 700,- 450 + 700,- 500 + 700,- 450 + 400,- 800 + 350,- 800 + 400,- 800 + 400,- 750 + 400,- 800 + 400,- 750 + 400,- 800 + 400,- 750 + 700,- 450 + 450,- 750 + 700,- 450 + 700,- 500 + 700,- 450 + 400,- 800 + 650,- 500 + 700,- 500 + 400,- 750 + 400,- 800 + 400,- 750 + 450,- 750 + 700,- 450 + 700,- 500 + 400,- 750 + 400,- 800 + 700 Sum: 65350 Send Onkyo (NEC with 16 bit command) Protocol=Onkyo Address=0xFFF1 Command=0x7776 Raw-Data=0x7776FFF1 32 bits LSB first Send with: IrSender.sendOnkyo(0xFFF1, 0x7776, ); rawData[68]: -1086400 +9050,-4400 + 700,-1600 + 650,- 450 + 700,- 450 + 650,- 500 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,- 450 + 700,-1600 + 650,-1600 + 650,- 500 + 650,-1600 + 650,-1600 + 650,-1600 + 700,- 450 + 650,-1600 + 650,-1600 + 700,-1600 + 650,- 450 + 700,-1600 + 650,-1600 + 650,-1600 + 650,- 500 + 650 Sum: 77500 Send Apple Protocol=Apple Address=0xF1 Command=0x76 Raw-Data=0xF17687EE 32 bits LSB first Send with: IrSender.sendApple(0xF1, 0x76, ); rawData[68]: -1059500 +9050,-4400 + 700,- 500 + 650,-1600 + 700,-1600 + 650,-1600 + 650,- 500 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,- 500 + 650,- 450 + 700,- 450 + 700,- 450 + 650,-1600 + 650,- 500 + 650,-1600 + 650,-1600 + 700,- 450 + 650,-1600 + 650,-1600 + 700,-1600 + 650,- 450 + 700,-1600 + 650,- 450 + 650,- 500 + 650,- 500 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 600 Sum: 73000 Send Panasonic Protocol=Panasonic Address=0xFF1 Command=0x76 Raw-Data=0x9976FF102002 48 bits LSB first Send with: IrSender.sendPanasonic(0xFF1, 0x76, ); rawData[100]: -1059200 +3500,-1700 + 500,- 350 + 500,-1250 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,-1250 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 450,- 400 + 500,- 400 + 500,-1250 + 500,- 350 + 500,- 400 + 450,- 400 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,- 400 + 500,-1250 + 500,-1250 + 500,- 350 + 500,-1250 + 500,-1250 + 500,-1250 + 500,- 400 + 500,-1250 + 500,- 350 + 500,- 400 + 500,-1250 + 500,-1250 + 500,- 400 + 500,- 350 + 500,-1250 + 500 Sum: 65200 Send Kaseikyo with 0x4711 as Vendor ID Protocol=Kaseikyo Address=0xFF1 Command=0x76 Extra=0x4711 Raw-Data=0x9A76FF134711 48 bits LSB first Send with: IrSender.sendKaseikyo(0xFF1, 0x76, , 0x4711); rawData[100]: -1079950 +3550,-1650 + 500,-1250 + 500,- 400 + 500,- 350 + 500,- 400 + 500,-1250 + 500,- 350 + 550,- 350 + 500,- 400 + 500,-1250 + 500,-1250 + 500,-1250 + 500,- 350 + 500,- 400 + 500,- 350 + 500,-1250 + 500,- 400 + 500,-1250 + 500,-1250 + 500,- 350 + 500,- 400 + 500,-1250 + 500,- 350 + 500,- 400 + 500,- 350 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 550,-1200 + 550,- 350 + 500,-1250 + 500,-1250 + 500,- 350 + 500,-1250 + 500,-1250 + 500,-1250 + 550,- 350 + 500,- 350 + 500,-1250 + 550,- 350 + 500,-1250 + 500,-1250 + 500,- 350 + 500,- 400 + 500,-1250 + 500 Sum: 70500 Send Kaseikyo_Denon variant Protocol=Kaseikyo_Denon Address=0xFF1 Command=0x76 Raw-Data=0x9976FF103254 48 bits LSB first Send with: IrSender.sendKaseikyo_Denon(0xFF1, 0x76, ); rawData[100]: -1080650 +3550,-1650 + 550,- 350 + 500,- 350 + 550,-1200 + 550,- 350 + 500,-1250 + 500,- 350 + 550,-1200 + 500,- 400 + 500,- 350 + 500,-1250 + 550,- 350 + 500,- 350 + 550,-1200 + 550,-1200 + 550,- 350 + 500,- 350 + 550,- 350 + 500,- 350 + 550,- 350 + 500,- 350 + 550,-1200 + 550,- 350 + 500,- 350 + 550,- 350 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,- 350 + 500,-1250 + 500,-1250 + 500,- 400 + 500,-1250 + 500,-1250 + 500,-1250 + 500,- 350 + 500,-1250 + 550,- 350 + 500,- 350 + 550,-1250 + 450,-1300 + 500,- 350 + 500,- 400 + 500,-1250 + 500 Sum: 68750 Send Denon Protocol=Denon Address=0x11 Command=0x76 Raw-Data=0xED1 15 bits LSB first Send with: IrSender.sendDenon(0x11, 0x76, ); rawData[32]: -1078400 + 350,-1750 + 350,- 700 + 350,- 700 + 350,- 700 + 350,-1750 + 350,- 700 + 300,-1800 + 350,-1750 + 350,- 700 + 350,-1750 + 350,-1750 + 350,-1750 + 350,- 700 + 350,- 700 + 350,- 700 + 350 Sum: 23450 Send Denon/Sharp variant Protocol=Sharp Address=0x11 Command=0x76 Raw-Data=0x4ED1 15 bits LSB first Send with: IrSender.sendSharp(0x11, 0x76, ); rawData[32]: -1023500 + 350,-1750 + 350,- 700 + 350,- 700 + 350,- 700 + 350,-1750 + 350,- 700 + 350,-1750 + 350,-1750 + 350,- 700 + 350,-1750 + 350,-1750 + 350,-1750 + 350,- 700 + 300,- 750 + 350,-1750 + 350 Sum: 24500 Send Sony/SIRCS with 7 command and 5 address bits Protocol=Sony Address=0x11 Command=0x76 Raw-Data=0x8F6 12 bits LSB first Send with: IrSender.sendSony(0x11, 0x76, 2, 12); rawData[26]: -1025750 +2500,- 500 + 700,- 500 +1300,- 650 +1250,- 550 + 700,- 500 +1300,- 500 +1300,- 500 +1300,- 550 +1300,- 500 + 700,- 500 + 700,- 500 + 700,- 550 +1250 Sum: 21300 Send Sony/SIRCS with 7 command and 8 address bits Protocol=Sony Address=0xF1 Command=0x76 Raw-Data=0x78F6 15 bits LSB first Send with: IrSender.sendSony(0xF1, 0x76, 2, 15); rawData[32]: -1037600 +2500,- 550 + 650,- 550 +1300,- 500 +1300,- 500 + 700,- 500 +1300,- 550 +1250,- 550 +1300,- 500 +1300,- 500 + 700,- 500 + 700,- 550 + 650,- 550 +1300,- 500 +1300,- 550 +1300,- 500 +1300 Sum: 26700 Send Sony/SIRCS with 7 command and 13 address bits Protocol=Sony Address=0x1FF1 Command=0x76 Raw-Data=0xFF8F6 20 bits LSB first Send with: IrSender.sendSony(0x1FF1, 0x76, 2, 20); rawData[42]: -1041100 +2500,- 500 + 700,- 550 +1300,- 500 +1300,- 500 + 700,- 550 +1250,- 550 +1300,- 500 +1300,- 550 +1300,- 500 + 700,- 500 + 700,- 500 + 700,- 500 +1300,- 550 +1300,- 500 +1300,- 500 +1300,- 500 +1300,- 550 +1300,- 500 +1300,- 500 +1300,- 550 +1250 Sum: 35750 Send Samsung 8 bit command Protocol=Samsung Address=0xFFF1 Command=0x76 Raw-Data=0x8976FFF1 32 bits LSB first Send with: IrSender.sendSamsung(0xFFF1, 0x76, ); rawData[68]: -1044850 +4550,-4400 + 700,-1600 + 650,- 450 + 700,- 450 + 650,- 500 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,- 450 + 700,-1600 + 650,-1600 + 650,- 500 + 650,-1600 + 650,-1600 + 700,-1600 + 650,- 450 + 700,-1600 + 650,- 450 + 650,- 500 + 650,-1600 + 650,- 500 + 650,- 450 + 700,- 450 + 650,-1600 + 650 Sum: 69600 Send Samsung 16 bit command Protocol=Samsung Address=0xFFF1 Command=0x9876 Raw-Data=0x9876FFF1 32 bits LSB first Send with: IrSender.sendSamsung(0xFFF1, 0x9876, ); rawData[68]: -1061000 +4600,-4400 + 650,-1600 + 700,- 450 + 650,- 500 + 650,- 450 + 700,-1550 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,- 500 + 650,-1600 + 700,-1600 + 650,- 450 + 700,-1600 + 650,-1600 + 650,-1600 + 650,- 500 + 650,- 450 + 700,- 450 + 650,- 500 + 650,-1600 + 650,-1600 + 650,- 500 + 650,- 450 + 700,-1600 + 650 Sum: 69650 Send Samsung48 16 bit command Protocol=Samsung48 Address=0xFFF1 Command=0x9876 Raw-Data=0xFFFFFFFF8976FFF1 48 bits LSB first Send with: IrSender.sendSamsung48(0xFFF1, 0x9876, ); rawData[100]: -1066350 +4550,-4400 + 650,-1650 + 600,- 500 + 700,- 450 + 650,- 500 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 600,-1650 + 650,-1600 + 650,-1600 + 700,-1600 + 600,-1650 + 650,-1600 + 650,-1600 + 700,-1550 + 700,- 450 + 650,-1600 + 700,-1600 + 600,- 500 + 650,-1600 + 700,-1600 + 650,-1600 + 650,- 500 + 650,-1600 + 650,- 500 + 650,- 500 + 650,-1600 + 650,- 450 + 700,- 450 + 650,- 500 + 650,-1600 + 650,- 500 + 650,- 450 + 650,- 500 + 650,-1600 + 650,-1600 + 700,- 450 + 650,- 500 + 650,-1600 + 650,-1600 + 650,-1600 + 650,-1650 + 650,- 450 + 650,- 500 + 650,-1600 + 650,-1600 + 650,- 500 + 650 Sum: 96750 Send RC5 Protocol=RC5 Address=0x11 Command=0x36 Raw-Data=0x1476 13 bits MSB first Send with: IrSender.sendRC5(0x11, 0x36, ); rawData[20]: -1079150 +1000,- 800 +1900,-1650 +1900,- 800 +1000,- 800 +1000,-1700 +1000,- 800 +1000,- 750 +1900,-1700 +1000,- 800 +1900 Sum: 23400 Send RC5X with 7.th MSB of command set Protocol=RC5 Address=0x11 Command=0x76 Toggle=1 Raw-Data=0xC76 13 bits MSB first Send with: IrSender.sendRC5(0x11, 0x76, ); rawData[20]: -1035450 +1900,-1700 +1000,- 800 +1900,- 750 +1000,- 800 +1000,-1700 +1000,- 800 +1000,- 800 +1900,-1650 +1000,- 800 +1900 Sum: 23400 Send RC6 Protocol=RC6 Address=0xF1 Command=0x76 Raw-Data=0xF176 20 bits MSB first Send with: IrSender.sendRC6(0xF1, 0x76, ); rawData[36]: -1032650 +2750,- 800 + 550,- 800 + 550,- 350 + 550,- 350 + 550,- 800 +1450,- 350 + 550,- 350 + 550,- 350 + 550,- 800 + 550,- 350 + 550,- 350 +1000,- 800 +1000,- 350 + 550,- 350 + 550,- 800 +1000,- 350 + 550,- 800 + 550 Sum: 23450 Send JVC Protocol=JVC Address=0xF1 Command=0x76 Raw-Data=0x76F1 16 bits LSB first Send with: IrSender.sendJVC(0xF1, 0x76, ); rawData[36]: -1040750 +8500,-4150 + 650,-1500 + 650,- 400 + 650,- 450 + 600,- 450 + 650,-1500 + 600,-1500 + 650,-1500 + 600,-1550 + 600,- 450 + 650,-1500 + 650,-1450 + 650,- 450 + 650,-1450 + 650,-1500 + 650,-1500 + 600,- 450 + 650 Sum: 41050 Send Samsung Protocol=Samsung Address=0xFFF1 Command=0x9876 Raw-Data=0x9876FFF1 32 bits LSB first Send with: IrSender.sendSamsung(0xFFF1, 0x9876, ); rawData[68]: -1040900 +4600,-4400 + 650,-1600 + 700,- 450 + 650,- 500 + 650,- 450 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 650,-1650 + 650,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,- 500 + 650,-1600 + 650,-1600 + 700,- 450 + 650,-1600 + 650,-1600 + 700,-1600 + 650,- 450 + 700,- 450 + 650,- 500 + 650,- 450 + 650,-1600 + 700,-1600 + 650,- 500 + 650,- 450 + 650,-1600 + 700 Sum: 69650 Send LG Protocol=LG Address=0xF1 Command=0x9876 Raw-Data=0xF19876E 28 bits MSB first Send with: IrSender.sendLG(0xF1, 0x9876, ); rawData[60]: -1059650 +9100,-4100 + 650,-1500 + 600,-1500 + 600,-1500 + 600,-1500 + 600,- 500 + 600,- 450 + 600,- 450 + 650,-1500 + 600,-1500 + 600,- 450 + 600,- 500 + 600,-1500 + 600,-1500 + 600,- 500 + 600,- 450 + 600,- 450 + 650,- 450 + 600,-1500 + 600,-1500 + 600,-1500 + 650,- 450 + 600,-1500 + 600,-1500 + 600,- 500 + 600,-1500 + 600,-1500 + 600,-1500 + 600,- 500 + 600 Sum: 60450 Send MagiQuest Protocol=MagiQuest Address=0xFFF1 Command=0x76 Raw-Data=0x6BCDFFF1 56 bits MSB first Send with: IrSender.sendMagiQuest(0x6BCDFFF1, 0x76, ); rawData[112]: -1054600 + 400,- 750 + 400,- 800 + 400,- 750 + 400,- 750 + 400,- 800 + 400,- 750 + 400,- 800 + 400,- 750 + 700,- 500 + 650,- 500 + 400,- 800 + 650,- 500 + 400,- 750 + 700,- 500 + 700,- 450 + 700,- 500 + 650,- 500 + 400,- 800 + 400,- 750 + 700,- 500 + 650,- 500 + 400,- 800 + 650,- 500 + 700,- 450 + 700,- 500 + 650,- 500 + 700,- 500 + 650,- 500 + 700,- 450 + 700,- 500 + 700,- 450 + 700,- 500 + 650,- 500 + 700,- 450 + 700,- 500 + 400,- 750 + 400,- 800 + 400,- 750 + 700,- 500 + 400,- 800 + 400,- 750 + 700,- 450 + 700,- 500 + 650,- 500 + 400,- 800 + 650,- 500 + 700,- 450 + 400,- 800 + 400,- 750 + 400,- 800 + 650,- 500 + 700,- 500 + 350,- 800 + 700,- 450 + 700,- 500 + 650 Sum: 65100 Send Bang&Olufsen Protocol=Bang&Olufsen Address=0xF1 Command=0x76 Raw-Data=0xF176 16 bits MSB first Send with: IrSender.sendBang&Olufsen(0xF1, 0x76, ); rawData[44]: -1084600 + 300,-2850 + 250,-2900 + 250,-15400 + 300,-2850 + 300,-9100 + 250,-6050 + 250,-6000 + 250,-6000 + 300,-2850 + 300,-6000 + 250,-6000 + 300,-9100 + 300,-2850 + 300,-9100 + 300,-6000 + 250,-6000 + 300,-2850 + 300,-9100 + 250,-6000 + 300,-2900 + 250,-12250 + 300 Sum: 138300 Send Bosewave with no address and 8 command bits Protocol=BoseWave Address=0x0 Command=0x76 Raw-Data=0x8976 16 bits LSB first Send with: IrSender.sendBoseWave(0x0, 0x76, ); rawData[36]: -1050250 +1100,-1400 + 600,- 400 + 600,-1400 + 600,-1400 + 600,- 400 + 600,-1400 + 600,-1400 + 650,-1400 + 600,- 400 + 600,-1400 + 600,- 400 + 600,- 400 + 600,-1400 + 600,- 400 + 600,- 400 + 600,- 400 + 600,-1400 + 600 Sum: 27150 Send FAST Protocol=FAST Address=0x0 Command=0x76 Raw-Data=0x8976 16 bits LSB first Send with: IrSender.sendFAST(0x0, 0x76, ); rawData[36]: -1041350 +2200,-1000 + 650,- 400 + 650,-1500 + 650,-1500 + 600,- 450 + 650,-1500 + 650,-1500 + 600,-1500 + 650,- 450 + 600,-1500 + 650,- 450 + 600,- 450 + 650,-1500 + 600,- 450 + 650,- 450 + 600,- 450 + 650,-1500 + 600 Sum: 29450 Force buffer overflow by sending 280 marks and spaces Overflow Try to increase the "RAW_BUFFER_LENGTH" value of 200 in UnitTest.cpp rawData[200]: -1039850 + 300,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 300,- 500 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 500 + 300,- 450 + 350,- 450 + 300,- 500 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 400 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 300,- 500 + 300,- 450 + 300,- 500 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 350,- 450 + 300,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 400 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 300,- 500 + 300,- 450 + 350,- 450 + 300,- 450 + 300,- 500 + 300,- 450 + 350,- 450 + 350,- 450 + 300,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350,- 450 + 300,- 450 + 350 Sum: 77050 ERROR: Unknown protocol address=0xF2 command=0x87 Send NEC with 8 bit address Protocol=NEC Address=0xF2 Command=0x87 Raw-Data=0x78870DF2 32 bits LSB first Send with: IrSender.sendNEC(0xF2, 0x87, ); rawData[68]: -3276750 +9050,-4400 + 650,- 500 + 650,-1600 + 650,- 500 + 650,- 450 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 650,- 500 + 650,-1600 + 700,-1550 + 650,- 500 + 650,- 500 + 600,- 500 + 700,- 450 + 650,-1600 + 650,-1600 + 700,-1600 + 650,- 450 + 700,- 450 + 650,- 500 + 650,- 450 + 700,-1550 + 700,- 450 + 650,- 500 + 650,- 500 + 650,-1600 + 650,-1650 + 650,-1600 + 650,-1600 + 650,- 500 + 650 Sum: 68450 Send NEC with 16 bit address Protocol=NEC Address=0xF2 Command=0x87 Raw-Data=0x78870DF2 32 bits LSB first Send with: IrSender.sendNEC(0xF2, 0x87, ); rawData[68]: -1060000 +9100,-4400 + 650,- 450 + 700,-1600 + 650,- 450 + 700,- 450 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,- 500 + 650,-1600 + 650,-1600 + 650,- 500 + 650,- 500 + 600,- 500 + 650,- 500 + 650,-1600 + 650,-1600 + 650,-1600 + 700,- 450 + 650,- 500 + 600,- 500 + 650,- 500 + 650,-1600 + 650,- 500 + 650,- 450 + 700,- 450 + 650,-1600 + 700,-1550 + 700,-1600 + 650,-1600 + 650,- 500 + 650 Sum: 68450 Send NEC2 with 16 bit address Protocol=NEC Address=0xF2 Command=0x87 Raw-Data=0x78870DF2 32 bits LSB first Send with: IrSender.sendNEC(0xF2, 0x87, ); rawData[68]: -1060100 +9050,-4400 + 700,- 450 + 650,-1600 + 650,- 500 + 650,- 450 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,- 450 + 700,-1600 + 650,-1600 + 650,- 500 + 600,- 500 + 650,- 500 + 650,- 450 + 700,-1600 + 650,-1600 + 650,-1600 + 650,- 500 + 650,- 450 + 700,- 450 + 650,- 500 + 650,-1600 + 650,- 500 + 650,- 500 + 650,- 450 + 650,-1600 + 700,-1600 + 600,-1650 + 650,-1600 + 650,- 500 + 650 Sum: 68450 Send Onkyo (NEC with 16 bit command) Protocol=Onkyo Address=0xF2 Command=0x8887 Raw-Data=0x888700F2 32 bits LSB first Send with: IrSender.sendOnkyo(0xF2, 0x8887, ); rawData[68]: -1060700 +9100,-4400 + 650,- 450 + 700,-1600 + 650,- 450 + 700,- 450 + 650,-1600 + 650,-1600 + 700,-1600 + 650,-1600 + 650,- 450 + 700,- 450 + 650,- 500 + 650,- 450 + 700,- 450 + 650,- 500 + 650,- 450 + 650,- 500 + 650,-1600 + 650,-1600 + 700,-1550 + 700,- 450 + 650,- 500 + 650,- 500 + 650,- 450 + 650,-1600 + 700,- 450 + 650,- 500 + 650,- 450 + 650,-1650 + 650,- 500 + 650,- 450 + 700,- 450 + 650,-1600 + 650 Sum: 62800 Send Apple Protocol=Apple Address=0xF2 Command=0x87 Raw-Data=0xF28787EE 32 bits LSB first Send with: IrSender.sendApple(0xF2, 0x87, ); rawData[68]: -1059150 +9050,-4400 + 650,- 500 + 650,-1600 + 650,-1600 + 700,-1600 + 650,- 450 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,-1600 + 700,-1600 + 650,- 450 + 700,- 450 + 650,- 500 + 650,- 450 + 650,-1600 + 700,-1600 + 650,-1600 + 650,-1600 + 650,- 500 + 650,- 450 + 700,- 450 + 650,- 500 + 650,-1600 + 650,- 500 + 600,-1650 + 650,- 500 + 650,- 450 + 650,-1600 + 650,-1650 + 650,-1600 + 650,-1600 + 650 Sum: 71800 Send Panasonic Protocol=Panasonic Address=0xF2 Command=0x87 Raw-Data=0xA8870F202002 48 bits LSB first Send with: IrSender.sendPanasonic(0xF2, 0x87, ); rawData[100]: -1069050 +3550,-1650 + 500,- 400 + 500,-1250 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,-1250 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 450,-1300 + 500,- 350 + 550,- 350 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,-1250 + 500,-1250 + 450,-1300 + 500,- 350 + 500,- 400 + 450,- 400 + 500,- 400 + 450,-1300 + 500,- 350 + 550,- 350 + 500,- 350 + 500,-1250 + 550,- 350 + 500,-1250 + 450,- 400 + 550,-1200 + 550 Sum: 60000 Send Kaseikyo with 0x4711 as Vendor ID Protocol=Kaseikyo Address=0xF2 Command=0x87 Extra=0x4711 Raw-Data=0xAB870F234711 48 bits LSB first Send with: IrSender.sendKaseikyo(0xF2, 0x87, , 0x4711); rawData[100]: -1079750 +3550,-1650 + 550,-1200 + 550,- 350 + 500,- 350 + 550,- 350 + 500,-1250 + 500,- 350 + 550,- 350 + 500,- 350 + 550,-1200 + 550,-1200 + 550,-1200 + 550,- 350 + 500,- 350 + 550,- 350 + 500,-1250 + 500,- 350 + 550,-1200 + 550,-1200 + 550,- 350 + 500,- 350 + 550,- 350 + 500,-1250 + 500,- 350 + 550,- 350 + 500,-1250 + 500,-1250 + 500,-1250 + 500,-1250 + 500,- 300 + 550,- 400 + 500,- 350 + 550,- 350 + 500,-1250 + 500,-1250 + 500,-1250 + 500,- 350 + 500,- 400 + 500,- 350 + 500,- 400 + 500,-1250 + 500,-1250 + 500,-1250 + 500,- 350 + 500,-1250 + 500,- 400 + 500,-1250 + 500,- 350 + 500,-1250 + 550 Sum: 67000