*\r
* DO NOT INCLUDE THIS FILE, WILL BE INCLUDED BY IRMP.H or IRSND.H!\r
*\r
- * Copyright (c) 2013-2015 Frank Meyer - frank(at)fli4l.de\r
+ * Copyright (c) 2013-2016 Frank Meyer - frank(at)fli4l.de\r
*\r
- * $Id: irmpprotocols.h,v 1.43 2015/11/18 08:27:50 fm Exp $\r
+ * $Id: irmpprotocols.h,v 1.48 2017/02/17 09:13:06 fm Exp $\r
*\r
* This program is free software; you can redistribute it and/or modify\r
* it under the terms of the GNU General Public License as published by\r
#define IRMP_ACP24_PROTOCOL 46 // Stiebel Eltron ACP24 air conditioner\r
#define IRMP_TECHNICS_PROTOCOL 47 // Technics, similar to Matsushita, but 22 instead of 24 bits\r
#define IRMP_PANASONIC_PROTOCOL 48 // Panasonic (Beamer), start bits similar to KASEIKYO\r
+#define IRMP_MITSU_HEAVY_PROTOCOL 49 // Mitsubishi-Heavy Aircondition, similar timing as Panasonic beamer\r
+#define IRMP_VINCENT_PROTOCOL 50 // Vincent\r
+#define IRMP_SAMSUNGAH_PROTOCOL 51 // Vincent\r
\r
-#define IRMP_RADIO1_PROTOCOL 49 // Radio protocol (experimental status), do not use it yet!\r
+#define IRMP_RADIO1_PROTOCOL 52 // Radio protocol (experimental status), do not use it yet!\r
\r
-#define IRMP_N_PROTOCOLS 50 // number of supported protocols\r
+#define IRMP_N_PROTOCOLS 53 // number of supported protocols\r
\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
* timing constants:\r
#define SAMSUNG32_COMMAND_OFFSET 16 // skip 16 bits\r
#define SAMSUNG32_COMMAND_LEN 16 // read 16 command bits\r
#define SAMSUNG32_COMPLETE_DATA_LEN 32 // complete length\r
-#define SAMSUNG32_FRAMES 2 // SAMSUNG32 sends each frame 2 times // fm: correct?\r
+#define SAMSUNG32_FRAMES 1 // SAMSUNG32 sends one frame\r
#define SAMSUNG32_AUTO_REPETITION_PAUSE_TIME 47.0e-3 // repetition after 47 ms\r
#define SAMSUNG32_FRAME_REPEAT_PAUSE_TIME 47.0e-3 // frame repeat after 47ms\r
\r
#define SAMSUNG48_AUTO_REPETITION_PAUSE_TIME 5.0e-3 // repetition after 5 ms\r
#define SAMSUNG48_FRAME_REPEAT_PAUSE_TIME 47.0e-3 // frame repeat after 47ms\r
\r
+/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ * SAMSUNGAH:\r
+ *---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ */\r
+#define SAMSUNGAH_START_BIT_PULSE_TIME 2500.0e-6 // 2500 usec pulse\r
+#define SAMSUNGAH_START_BIT_PAUSE_TIME 1900.0e-6 // 1900 usec pause\r
+#define SAMSUNGAH_PULSE_TIME 450.0e-6 // 450 usec pulse\r
+#define SAMSUNGAH_1_PAUSE_TIME 1100.0e-6 // 1100 usec pause\r
+#define SAMSUNGAH_0_PAUSE_TIME 450.0e-6 // 450 usec pause\r
+#define SAMSUNGAH_FRAME_REPEAT_PAUSE_TIME 40.0e-3 // frame repeat after 40ms\r
+#define SAMSUNGAH_ADDRESS_OFFSET 0 // skip 0 bits\r
+#define SAMSUNGAH_ADDRESS_LEN 16 // read 16 address bits, ignore 17..31\r
+#define SAMSUNGAH_COMMAND_OFFSET 32 // skip 32 bits\r
+#define SAMSUNGAH_COMMAND_LEN 16 // read 32 bits\r
+#define SAMSUNGAH_COMPLETE_DATA_LEN 48 // complete length\r
+#define SAMSUNGAH_STOP_BIT 1 // has stop bit\r
+#define SAMSUNGAH_LSB 1 // LSB...MSB?\r
+#define SAMSUNGAH_FLAGS 0 // flags\r
+\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
* MATSUSHITA:\r
*---------------------------------------------------------------------------------------------------------------------------------------------------\r
#define KASEIKYO_COMPLETE_DATA_LEN 48 // complete length\r
#define KASEIKYO_STOP_BIT 1 // has stop bit\r
#define KASEIKYO_LSB 1 // LSB...MSB?\r
-#define KASEIKYO_FRAMES 2 // KASEIKYO sends 1st frame 2 times\r
+#define KASEIKYO_FRAMES 1 // KASEIKYO sends 1 frame\r
#define KASEIKYO_FLAGS 0 // flags\r
\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
* PANASONIC (Beamer), start bit timings similar to KASEIKYO\r
*---------------------------------------------------------------------------------------------------------------------------------------------------\r
*/\r
-#define PANASONIC_START_BIT_PULSE_TIME 3600.0e-6 // 3600 usec pulse\r
-#define PANASONIC_START_BIT_PAUSE_TIME 1600.0e-6 // 1690 usec pause\r
-#define PANASONIC_PULSE_TIME 565.0e-6 // 565 usec pulse\r
-#define PANASONIC_1_PAUSE_TIME 1140.0e-6 // 1140 usec pause\r
-#define PANASONIC_0_PAUSE_TIME 316.0e-6 // 316 usec pause\r
-#define PANASONIC_AUTO_REPETITION_PAUSE_TIME 40.0e-3 // repetition after 40 ms?\r
-#define PANASONIC_FRAME_REPEAT_PAUSE_TIME 40.0e-3 // frame repeat after 40 ms\r
-#define PANASONIC_ADDRESS_OFFSET 24 // skip 24 bits: 010000000000010000000001\r
-#define PANASONIC_ADDRESS_LEN 16 // read 16 address bits\r
-#define PANASONIC_COMMAND_OFFSET 40 // skip 40 bits\r
-#define PANASONIC_COMMAND_LEN 16 // read 16 command bits\r
-#define PANASONIC_COMPLETE_DATA_LEN 56 // complete length\r
-#define PANASONIC_STOP_BIT 1 // has stop bit\r
-#define PANASONIC_LSB 1 // LSB...MSB?\r
-#define PANASONIC_FRAMES 1 // PANASONIC sends 1 frame\r
-#define PANASONIC_FLAGS 0 // flags\r
+#define PANASONIC_START_BIT_PULSE_TIME 3600.0e-6 // 3600 usec pulse\r
+#define PANASONIC_START_BIT_PAUSE_TIME 1600.0e-6 // 1690 usec pause\r
+#define PANASONIC_PULSE_TIME 565.0e-6 // 565 usec pulse\r
+#define PANASONIC_1_PAUSE_TIME 1140.0e-6 // 1140 usec pause\r
+#define PANASONIC_0_PAUSE_TIME 316.0e-6 // 316 usec pause\r
+#define PANASONIC_AUTO_REPETITION_PAUSE_TIME 40.0e-3 // repetition after 40 ms?\r
+#define PANASONIC_FRAME_REPEAT_PAUSE_TIME 40.0e-3 // frame repeat after 40 ms\r
+#define PANASONIC_ADDRESS_OFFSET 24 // skip 24 bits: 010000000000010000000001\r
+#define PANASONIC_ADDRESS_LEN 16 // read 16 address bits\r
+#define PANASONIC_COMMAND_OFFSET 40 // skip 40 bits\r
+#define PANASONIC_COMMAND_LEN 16 // read 16 command bits\r
+#define PANASONIC_COMPLETE_DATA_LEN 56 // complete length\r
+#define PANASONIC_STOP_BIT 1 // has stop bit\r
+#define PANASONIC_LSB 1 // LSB...MSB?\r
+#define PANASONIC_FRAMES 1 // PANASONIC sends 1 frame\r
+#define PANASONIC_FLAGS 0 // flags\r
+\r
+/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ * MITSUBISHI-Heavy Aircondition, timings similar to PANASONIC beamer\r
+ *---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ */\r
+#define MITSU_HEAVY_START_BIT_PULSE_TIME 3200.0e-6 // 3600 usec pulse\r
+#define MITSU_HEAVY_START_BIT_PAUSE_TIME 1560.0e-6 // 1690 usec pause\r
+#define MITSU_HEAVY_PULSE_TIME 400.0e-6 // 565 usec pulse\r
+#define MITSU_HEAVY_1_PAUSE_TIME 1200.0e-6 // 1140 usec pause\r
+#define MITSU_HEAVY_0_PAUSE_TIME 430.0e-6 // 316 usec pause\r
+#define MITSU_HEAVY_FRAME_REPEAT_PAUSE_TIME 40.0e-3 // frame repeat after 40 ms\r
+#define MITSU_HEAVY_ADDRESS_OFFSET 40 // skip 24 bits: 010000000000010000000001\r
+#define MITSU_HEAVY_ADDRESS_LEN 16 // read 16 address bits\r
+#define MITSU_HEAVY_COMMAND_OFFSET 56 // skip 40 bits\r
+#define MITSU_HEAVY_COMMAND_LEN 16 // read 16 command bits\r
+#define MITSU_HEAVY_COMPLETE_DATA_LEN 88 // complete length\r
+#define MITSU_HEAVY_STOP_BIT 1 // has stop bit\r
+#define MITSU_HEAVY_LSB 0 // LSB...MSB?\r
+#define MITSU_HEAVY_FRAMES 1 // PANASONIC sends 1 frame\r
+#define MITSU_HEAVY_FLAGS 0 // flags\r
+\r
+/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ * VINCENT\r
+ *---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ */\r
+#define VINCENT_START_BIT_PULSE_TIME 2500.0e-6 // 2500 usec pulse\r
+#define VINCENT_START_BIT_PAUSE_TIME 4600.0e-6 // 4600 usec pause\r
+#define VINCENT_PULSE_TIME 550.0e-6 // 550 usec pulse\r
+#define VINCENT_1_PAUSE_TIME 1540.0e-6 // 1540 usec pause\r
+#define VINCENT_0_PAUSE_TIME 550.0e-6 // 550 usec pause\r
+#define VINCENT_FRAME_REPEAT_PAUSE_TIME 40.0e-3 // frame repeat after 40 ms ?\r
+#define VINCENT_ADDRESS_OFFSET 0 // skip 0 bits\r
+#define VINCENT_ADDRESS_LEN 16 // read 16 address bits\r
+#define VINCENT_COMMAND_OFFSET 16 // skip 16 bits\r
+#define VINCENT_COMMAND_LEN 16 // read 16 command bits\r
+#define VINCENT_COMPLETE_DATA_LEN 32 // complete length\r
+#define VINCENT_STOP_BIT 1 // has stop bit\r
+#define VINCENT_LSB 0 // LSB...MSB?\r
+#define VINCENT_FRAMES 1 // VINCENT sends 1 frame\r
+#define VINCENT_FLAGS 0 // flags\r
\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
* RECS80:\r