*\r
* Copyright (c) 2013-2015 Frank Meyer - frank(at)fli4l.de\r
*\r
- * $Id: irmpprotocols.h,v 1.34 2015/05/28 06:46:49 fm Exp $\r
+ * $Id: irmpprotocols.h,v 1.38 2015/09/20 10:51:37 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_MERLIN_PROTOCOL 42 // Merlin (Pollin 620 185)\r
#define IRMP_PENTAX_PROTOCOL 43 // Pentax camera\r
#define IRMP_FAN_PROTOCOL 44 // FAN (ventilator), very similar to NUBERT, but last bit is data bit instead of stop bit\r
-#define IRMP_RADIO1_PROTOCOL 45 // Radio protocol (experimental status), do not use it yet!\r
+#define IRMP_S100_PROTOCOL 45 // very similar to RC5, but 14 instead of 13 data bits\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_RADIO1_PROTOCOL 48 // Radio protocol (experimental status), do not use it yet!\r
\r
-#define IRMP_N_PROTOCOLS 45 // number of supported protocols\r
+#define IRMP_N_PROTOCOLS 48 // number of supported protocols\r
\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
* timing constants:\r
#define MATSUSHITA_LSB 1 // LSB...MSB?\r
#define MATSUSHITA_FLAGS 0 // flags\r
\r
+/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ * TECHNICS: same timings as MATSUSHITA\r
+ *---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ */\r
+#define TECHNICS_ADDRESS_LEN 0 // read 0 address bits\r
+#define TECHNICS_COMMAND_LEN 11 // read 11 bits\r
+#define TECHNICS_COMPLETE_DATA_LEN 22 // complete length\r
+\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
* KASEIKYO:\r
*---------------------------------------------------------------------------------------------------------------------------------------------------\r
#define RC5_LSB 0 // MSB...LSB\r
#define RC5_FLAGS IRMP_PARAM_FLAG_IS_MANCHESTER // flags\r
\r
+/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ * S100: very similar to RC5, but 14 insted of 13 bits\r
+ *---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ */\r
+#define S100_BIT_TIME 889.0e-6 // 889 usec pulse/pause\r
+#define S100_FRAME_REPEAT_PAUSE_TIME 88.9e-3 // frame repeat after 88.9ms\r
+\r
+#define S100_ADDRESS_OFFSET 1 // skip 1 bit (2nd start)\r
+#define S100_ADDRESS_LEN 6 // read 1 toggle bit (for key repetition detection) + 5 address bits\r
+#define S100_COMMAND_OFFSET 7 // skip 5 bits (2nd start + 1 toggle + 5 address)\r
+#define S100_COMMAND_LEN 7 // read 7 command bits\r
+#define S100_COMPLETE_DATA_LEN 14 // complete length\r
+#define S100_STOP_BIT 0 // has no stop bit\r
+#define S100_LSB 0 // MSB...LSB\r
+#define S100_FLAGS IRMP_PARAM_FLAG_IS_MANCHESTER // flags\r
+\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
* DENON:\r
*---------------------------------------------------------------------------------------------------------------------------------------------------\r
#define PENTAX_LSB 0 // LSB...MSB\r
#define PENTAX_FLAGS 0 // flags\r
\r
+/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ * ACP24: Stiebel Eltron ACP24 air conditioner\r
+ *---------------------------------------------------------------------------------------------------------------------------------------------------\r
+ */\r
+#define ACP24_START_BIT_PULSE_TIME 390.0e-6 // 390 usec pulse\r
+#define ACP24_START_BIT_PAUSE_TIME 950.0e-6 // 950 usec pause\r
+#define ACP24_PULSE_TIME 390.0e-6 // 390 usec pulse\r
+#define ACP24_1_PAUSE_TIME 1300.0e-6 // 1300 usec pause\r
+#define ACP24_0_PAUSE_TIME 950.0e-6 // 950 usec pause\r
+#define ACP24_FRAME_REPEAT_PAUSE_TIME 22.0e-3 // frame repeat after 22ms?\r
+#define ACP24_ADDRESS_OFFSET 0 // skip 0 bits\r
+#define ACP24_ADDRESS_LEN 0 // read 6 address bits\r
+#define ACP24_COMMAND_OFFSET 0 // skip 6 bits\r
+#define ACP24_COMMAND_LEN 0 // read 0 bits (70 bits will be read and compressed by special routine)\r
+#define ACP24_COMPLETE_DATA_LEN 70 // complete length\r
+#define ACP24_STOP_BIT 1 // has stop bit\r
+#define ACP24_LSB 0 // LSB...MSB\r
+#define ACP24_FLAGS 0 // flags\r
+\r
/*---------------------------------------------------------------------------------------------------------------------------------------------------\r
* RADIO1 - e.g. Tevion\r
*---------------------------------------------------------------------------------------------------------------------------------------------------\r