summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IR-Data/Sony-RM-X151.txt48
-rw-r--r--irmp.c23
-rw-r--r--irmpconfig.h2
-rw-r--r--irsnd.c148
-rw-r--r--irsndconfig.h5
5 files changed, 204 insertions, 22 deletions
diff --git a/IR-Data/Sony-RM-X151.txt b/IR-Data/Sony-RM-X151.txt
new file mode 100644
index 0000000..c55ed34
--- /dev/null
+++ b/IR-Data/Sony-RM-X151.txt
@@ -0,0 +1,48 @@
+# Sony RM-X151
+# Proto SIRCS
+# Addr 0
+# Dez Hex
+#Off 16909 = 0x420D gefolgt von 16965 = 0x4245
+00000000000000000000000001111110000000000000111110000000111110000000000000111110000000000000111110000000111110000000111110000000111110000000111110000000111110000000000000111111000000111111000000111111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000001111100000000000001111100000000000001111100000001111110000001111110000001111110000001111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000011111100000000000011111100000000000001111100000001111100000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111111000000000000011111000000011111000000000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111000000000000011111100000011111100000011111100000011111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000111110000000000000111110000000111110000000111110000000111111000000000000111111000000111111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000000001111110000000111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111111000000111111000000111111000000111111000000011111000000000000011111111111111111
+#Off - laenger 0x420D, ..., 0x420D, 0x4245
+000000000000000000000000011111000000000000011111000000011111000000000000011111000000000000011111000000011111100000011111100000011111100000011111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000111110000000000000111111000000000000111111000000111111000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000000001111110000001111110000000000000111110000000000000111110000000111110000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000111111000000111111000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111100000000000011111100000001111100000000000001111100000000000001111100000001111100000001111100000001111100000001111100000001111100000000000001111100000001111100000001111110000001111110000001111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000011111000000000000011111000000000000011111000000011111000000011111000000011111100000011111100000011111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000111110000000000000111110000000000000111111000000111111000000111111000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000000001111110000001111110000000000000111110000000000000111110000000111110000000111110000000111110000000111110000000111110000000000000111110000000111110000000111111000000111111000000111111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000001111100000000000001111100000000000001111100000001111100000001111100000001111110000001111110000001111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000011111000000000000011111000000000000011111100000011111100000011111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
+#ATT 16916 = 0x4214 gefolgt von 16965 = 0x4245
+00000000000000000000000001111100000001111100000001111110000000000001111110000001111110000000000000111110000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111100000001111100000001111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111100000001111110000001111110000001111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000011111000000011111000000000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111100000000000011111100000011111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000111110000000000000111110000000111110000000111110000000111110000000000000111111000000111111000000111111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000001111100000000000001111110000001111110000001111110000001111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000000000001111110000001111110000001111110000000111110000000111110000000000000111111111111111111
+#SRC 16966 = 0x4246 gefolgt von 16965 = 0x4245
+00000000000000000000000001111110000000111110000000000000111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111111000000111111000000111111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000001111100000000000001111100000000000001111100000001111100000001111100000001111100000000000001111110000001111110000001111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000011111000000000000011111000000000000011111000000011111100000011111100000011111100000000000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000111111000000000000111111000000111111000000011111000000011111000000000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000000001111110000000111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111110000000111111000000111111000000111111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000000000001111110000001111110000001111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111
+#Sel 16913 = 0x4211 gefolgt von 16965 = 0x4245
+00000000000000000000000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111110000001111110000000000001111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000011111000000011111000000011111100000000000011111100000011111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111111000000111111000000111111000000111111000000000000011111000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111110000001111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111111000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000001111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000000000001111110000001111110000001111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000011111000000000000011111000000011111100000011111100000011111100000000000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111
+#Mode 16967 = 0x4247 gefolgt von 16965 = 0x4245
+00000000000000000000000001111100000000000001111110000000000001111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111111000000111111000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000000000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000000000001111110000001111110000001111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000000000011111000000000000011111000000011111000000011111000000011111000000000000011111100000011111100000011111100000000000011111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000111110000000000000111110000000111110000000111110000000111110000000000000111111000000111111000000111111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000001111100000000000001111110000001111110000001111110000001111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000000000001111110000001111110000001111110000001111110000000111110000000000000111111111111111111
+#+ hoch 16947 = 0x4233 gefolgt von 16965 = 0x4245
+00000000000000000000000001111100000000000001111100000000000001111110000001111110000001111110000000000000111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111100000000000011111100000000000001111100000001111100000001111100000000000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111110000001111110000001111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000011111000000000000011111000000000000011111000000011111000000011111000000000000011111000000000000011111000000011111000000011111000000011111000000000000011111100000011111100000011111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000000111110000000000000111110000000111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111111000000000000111111000000111111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000001111100000000000001111100000001111100000001111110000001111110000000000001111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111100000000000011111100000011111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000000000001111100000001111100000001111110000001111110000001111110000000000000111111111111111111
+#<- 16949 = 0x4235 gefolgt von 16965 = 0x4245
+00000000000000000000000001111100000000000001111100000001111100000000000001111110000001111110000000000000111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111100000000000011111100000001111100000000000001111100000001111100000000000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111110000001111110000001111110000001111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111111000000000000011111000000011111000000000000011111000000011111000000000000011111000000000000011111000000011111000000011111000000011111000000000000011111100000011111100000011111100000011111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000111110000000000000111110000000111110000000111110000000111110000000000000111110000000111111000000011111000000000000111111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000001111100000000000001111100000001111110000001111110000001111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000001111100000011111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111110000000000000111111111111111111
+#-> 16948 = 0x4234 gefolgt von 16965 = 0x4245
+00000000000000000000000001111100000001111100000001111100000000000001111100000001111100000000000001111100000000000001111110000001111110000001111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000011111000000011111000000000000011111000000011111100000000000011111100000000000011111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000111111000000111111000000000000111111000000111111000000000000011111000000000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000000001111110000000111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111111000000111111000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000001111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111110000000000001111110000001111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000011111000000000000011111000000011111000000011111000000011111100000000000011111100000011111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111
+#- runter 16946 = 0x4232 gefolgt von 16965 = 0x4245
+00000000000000000000000001111100000001111100000000000001111100000001111100000001111100000000000001111100000000000001111110000001111110000001111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000011111000000000000011111000000011111000000011111100000000000011111100000000000011111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000111111000000000000111111000000111111000000011111000000000000011111000000000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111100000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000000001111110000000111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111110000000111110000000111111000000111111000000111111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000001111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111110000000000001111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000011111000000000000011111000000011111000000011111100000011111100000000000011111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111
+#Disp 16936 = 0x4228 gefolgt von 16965 = 0x4245
+00000000000000000000000001111100000001111100000001111100000001111100000000000001111100000001111100000000000001111100000001111110000001111110000001111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000011111000000011111000000011111000000000000011111100000011111100000000000011111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000111110000000111110000000111111000000000000111111000000111111000000000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000000001111110000000111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111111000000111111000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000001111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111110000000000001111110000001111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000011111000000000000011111000000011111000000011111000000011111100000000000011111100000011111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111
+#SCRL 16931 = 0x4223 gefolgt von 16965 = 0x4245
+00000000000000000000000001111100000000000001111100000000000001111100000001111100000001111110000001111110000000000001111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000000000011111100000011111100000011111100000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111111000000000000111111000000000000111111000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111100000011111100000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000000000111110000000111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111110000000111111000000111111000000111111000000111111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000001111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111110000001111110000000000001111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000011111000000000000011111100000011111100000011111100000001111100000000000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111
+#1 16896 = 0x4200 gefolgt von 16965 = 0x4245
+00000000000000000000000001111100000001111110000001111110000001111110000001111110000000111110000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111100000001111100000001111100000001111100000001111100000001111100000001111100000001111100000001111100000001111100000000000001111100000001111100000001111110000001111110000001111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000011111000000011111000000011111000000011111000000011111000000011111000000011111000000011111000000011111000000000000011111100000011111100000011111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000111110000000000000111110000000111110000000111110000000111110000000000000111111000000111111000000111111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000001111100000000000001111100000001111110000001111110000001111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111100000000000011111100000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000000000001111100000001111110000001111110000001111110000001111110000000000000111111111111111111
+#2 16897 = 0x4201 gefolgt von 16965 = 0x4245
+00000000000000000000000001111110000000000000111110000000111110000000111110000000111110000000111110000000111110000000111110000000111110000000111110000000000000111110000000111111000000111111000000111111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000001111100000001111100000001111100000001111100000001111100000001111100000001111100000001111110000000000001111110000001111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000011111000000011111000000011111000000011111100000011111100000011111100000011111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000111110000000000000111111000000111111000000111111000000011111000000000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000000001111110000001111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111111000000111111000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000001111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000000000001111110000001111110000001111110000000111110000000111110000000000000111111111111111111
+#3 16898 = 0x4202 gefolgt von 16965 = 0x4245
+00000000000000000000000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000111110000000111110000000111111000000000000111111000000111111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000001111110000001111110000001111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000011111000000000000011111000000011111100000011111100000011111100000011111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111111000000111111000000000000111111000000111111000000011111000000011111000000000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000000001111110000000111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111110000000111111000000111111000000111111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000001111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111110000001111110000000000001111110000000111110000000111110000000111110000000111110000000000000111111111111111111
+#4 16899 = 0x4203 gefolgt von 16965 = 0x4245
+00000000000000000000000000111110000000000000111110000000000000111110000000111110000000111110000000111110000000111110000000111110000000111110000000111111000000000000111111000000111111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000000000001111100000001111100000001111100000001111110000001111110000001111110000001111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000000000011111000000011111100000011111100000011111100000011111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000111110000000000000111111000000111111000000111111000000011111000000000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000000001111110000001111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111110000000111110000000111111000000111111000000111111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000000000001111110000001111110000001111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111
+#5 16900 = 0x4204 gefolgt von 16965 = 0x4245
+00000000000000000000000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000001111110000001111110000000000001111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000011111000000011111000000000000011111000000011111000000011111100000011111100000011111100000011111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000111110000000111111000000000000111111000000111111000000111111000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000000001111110000001111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111111000000111111000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000001111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000000000001111110000001111110000001111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000011111000000000000011111000000011111000000011111000000011111000000000000011111100000011111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111
+#6 16901 = 0x4205 gefolgt von 16965 = 0x4245
+00000000000000000000000001111100000000000001111100000001111100000000000001111100000001111110000001111110000001111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111100000011111100000000000011111100000001111100000001111100000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111111000000000000111111000000011111000000000000011111000000011111000000011111000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111100000011111100000011111100000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000111110000000000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000000000111111000000111111000000111111000000111111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000001111100000000000001111100000001111100000001111100000001111100000000000001111110000001111110000001111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000011111000000000000011111100000011111100000011111100000011111100000000000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111
+#Vol+ 16914 = 0x4212
+0000000000000000000000000111110000000111110000000000000111111000000111111000000111111000000000000011111000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000001111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111110000000111110000000111111000000111111000000111111000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111100000001111100000000000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111100000001111110000001111110000001111110000001111110000000000000111111111111111
+#Vol+ laenger
+000000000000000000000000011111000000011111000000000000011111100000011111100000011111100000000000001111100000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111111000000111111000000000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111100000011111100000011111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111110000000111111000000111111000000111111000000111111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000001111100000001111100000000000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111110000001111110000001111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000011111000000000000011111000000011111000000011111000000000000011111100000011111100000011111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000111111000000000000111111000000111111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111100000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000000111110000000111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111111000000000000111111000000111111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000001111100000000000001111100000001111100000001111100000000000001111110000001111110000001111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000011111000000000000011111100000011111100000011111100000000000001111100000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
+#Vol- 16915 = 0x4213
+000000000000000000000000011111100000000000001111100000000000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111110000001111110000001111110000001111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111100000011111100000000000011111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000000000111110000000111110000000111110000000000000111111000000111111000000111111000000111111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111
+#Vol- laenger
+000000000000000000000000011111000000000000011111000000000000011111000000011111000000011111000000000000011111100000011111100000011111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000000000111111000000111111000000111111000000000000011111000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111110000000000001111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111111000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111100000000000001111100000000000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111110000001111110000001111110000001111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000000000011111000000011111000000011111000000000000011111000000011111100000011111100000011111100000011111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000000000000000111110000000000000111110000000000000111110000000111111000000111111000000000000111111000000011111000000011111000000011111000000011111000000000000011111000000011111000000011111000000011111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111110000000000000111110000000000000111110000000111110000000111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111000000111111000000111111000000111111000000011111000000000000011111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100000000000000000000000001111100000000000001111100000000000001111100000001111100000001111100000000000001111100000001111100000001111110000001111110000001111110000000000000111110000000111110000000111110000000111110000000111110000000000000111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000000000000000000000011111000000000000011111000000000000011111000000011111100000011111100000000000011111100000001111100000001111100000001111100000001111100000000000001111100000001111100000001111100000001111100000001111100000000000001111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
diff --git a/irmp.c b/irmp.c
index f83e6c7..5c11b1c 100644
--- a/irmp.c
+++ b/irmp.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2009-2010 Frank Meyer - frank(at)fli4l.de
*
- * $Id: irmp.c,v 1.84 2010/11/09 19:18:32 fm Exp $
+ * $Id: irmp.c,v 1.86 2011/01/13 15:54:57 fm Exp $
*
* ATMEGA88 @ 8 MHz
*
@@ -2035,17 +2035,18 @@ irmp_ISR (void)
}
else
{
- irmp_pause_time++; // increment counter
+ irmp_pause_time++; // increment counter
#if IRMP_SUPPORT_SIRCS_PROTOCOL == 1
- if (irmp_param.protocol == IRMP_SIRCS_PROTOCOL && // Sony has a variable number of bits:
- irmp_pause_time > SIRCS_PAUSE_LEN_MAX && // minimum is 12
- irmp_bit >= 12 - 1) // pause too long?
- { // yes, break and close this frame
- irmp_param.complete_len = irmp_bit + 1; // set new complete length
- got_light = TRUE; // this is a lie, but helps (generates stop bit)
- irmp_param.command_end = irmp_param.command_offset + irmp_bit + 1; // correct command length
- irmp_pause_time = SIRCS_PAUSE_LEN_MAX - 1; // correct pause length
+ if (irmp_param.protocol == IRMP_SIRCS_PROTOCOL && // Sony has a variable number of bits:
+ irmp_pause_time > SIRCS_PAUSE_LEN_MAX && // minimum is 12
+ irmp_bit >= 12 - 1) // pause too long?
+ { // yes, break and close this frame
+ irmp_param.complete_len = irmp_bit + 1; // set new complete length
+ got_light = TRUE; // this is a lie, but helps (generates stop bit)
+ irmp_tmp_address |= (irmp_bit - SIRCS_MINIMUM_DATA_LEN + 1) << 8; // new: store number of additional bits in upper byte of address!
+ irmp_param.command_end = irmp_param.command_offset + irmp_bit + 1; // correct command length
+ irmp_pause_time = SIRCS_PAUSE_LEN_MAX - 1; // correct pause length
}
else
#endif
@@ -2214,7 +2215,7 @@ irmp_ISR (void)
irmp_param.address_end = irmp_param.address_offset + 15;
irmp_param.command_offset = irmp_param.address_end + 1; // skip 1 system bit, changes like a toggle bit
irmp_param.command_end = irmp_param.command_offset + 16 - 1;
- irmp_tmp_address = 1; // addr 0 - 32767 --> 32768 - 65535
+ irmp_tmp_address = 0;
}
#endif // IRMP_SUPPORT_RC6_PROTOCOL == 1
diff --git a/irmpconfig.h b/irmpconfig.h
index b84666d..dc44c55 100644
--- a/irmpconfig.h
+++ b/irmpconfig.h
@@ -3,7 +3,7 @@
*
* Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de
*
- * $Id: irmpconfig.h,v 1.43 2010/11/10 08:01:46 fm Exp $
+ * $Id: irmpconfig.h,v 1.46 2011/01/13 16:01:41 fm Exp $
*
* ATMEGA88 @ 8 MHz
*
diff --git a/irsnd.c b/irsnd.c
index b500542..efae8e4 100644
--- a/irsnd.c
+++ b/irsnd.c
@@ -3,7 +3,7 @@
*
* Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de
*
- * $Id: irsnd.c,v 1.26 2010/11/09 21:14:31 fm Exp $
+ * $Id: irsnd.c,v 1.28 2011/01/13 15:54:57 fm Exp $
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -315,6 +315,10 @@ bitsrevervse (uint16_t x, uint8_t len)
}
+#if IRSND_SUPPORT_SIRCS_PROTOCOL == 1
+static uint8_t sircs_additional_bitlen;
+#endif // IRSND_SUPPORT_SIRCS_PROTOCOL == 1
+
uint8_t
irsnd_send_data (IRMP_DATA * irmp_data_p, uint8_t do_wait)
{
@@ -327,6 +331,9 @@ irsnd_send_data (IRMP_DATA * irmp_data_p, uint8_t do_wait)
#if IRSND_SUPPORT_RC5_PROTOCOL == 1
static uint8_t toggle_bit_rc5;
#endif
+#if IRSND_SUPPORT_RC5_PROTOCOL == 1
+ static uint8_t toggle_bit_rc6;
+#endif
uint16_t address;
uint16_t command;
@@ -350,10 +357,33 @@ irsnd_send_data (IRMP_DATA * irmp_data_p, uint8_t do_wait)
#if IRSND_SUPPORT_SIRCS_PROTOCOL == 1
case IRMP_SIRCS_PROTOCOL:
{
- command = bitsrevervse (irmp_data_p->command, SIRCS_MINIMUM_DATA_LEN);
+ uint8_t sircs_additional_command_len;
+ uint8_t sircs_additional_address_len;
+
+ sircs_additional_bitlen = (irmp_data_p->address & 0xFF00) >> 8; // additional bitlen
+
+ if (sircs_additional_bitlen > 15 - SIRCS_MINIMUM_DATA_LEN)
+ {
+ sircs_additional_command_len = 15 - SIRCS_MINIMUM_DATA_LEN;
+ sircs_additional_address_len = sircs_additional_bitlen - (15 - SIRCS_MINIMUM_DATA_LEN);
+ }
+ else
+ {
+ sircs_additional_command_len = sircs_additional_bitlen;
+ sircs_additional_address_len = 0;
+ }
- irsnd_buffer[0] = (command & 0x0FF0) >> 4; // CCCCCCCC
- irsnd_buffer[1] = (command & 0x000F) << 4; // CCCC0000
+ command = bitsrevervse (irmp_data_p->command, 15);
+
+ irsnd_buffer[0] = (command & 0x7F80) >> 7; // CCCCCCCC
+ irsnd_buffer[1] = (command & 0x007F) << 1; // CCCC****
+
+ if (sircs_additional_address_len > 0)
+ {
+ address = bitsrevervse (irmp_data_p->address, 5);
+ irsnd_buffer[1] |= (address & 0x0010) >> 4;
+ irsnd_buffer[2] = (address & 0x000F) << 4;
+ }
irsnd_busy = TRUE;
break;
}
@@ -495,6 +525,32 @@ irsnd_send_data (IRMP_DATA * irmp_data_p, uint8_t do_wait)
break;
}
#endif
+#if IRSND_SUPPORT_RC6_PROTOCOL == 1
+ case IRMP_RC6_PROTOCOL:
+ {
+ toggle_bit_rc6 = toggle_bit_rc6 ? 0x00 : 0x08;
+
+ irsnd_buffer[0] = 0x80 | toggle_bit_rc6 | ((irmp_data_p->address & 0x00E0) >> 5); // 1MMMTAAA, MMM = 000
+ irsnd_buffer[1] = ((irmp_data_p->address & 0x001F) << 3) | ((irmp_data_p->command & 0xE0) >> 5); // AAAAACCC
+ irsnd_buffer[2] = (irmp_data_p->command & 0x1F) << 3; // CCCCC
+ irsnd_busy = TRUE;
+ break;
+ }
+#endif
+#if IRSND_SUPPORT_RC6A_PROTOCOL == 1
+ case IRMP_RC6A_PROTOCOL:
+ {
+ toggle_bit_rc6 = toggle_bit_rc6 ? 0x00 : 0x08;
+
+ irsnd_buffer[0] = 0x80 | 0x60 | ((irmp_data_p->address & 0x3000) >> 12); // 1MMMT0AA, MMM = 110
+ irsnd_buffer[1] = ((irmp_data_p->address & 0x0FFF) >> 4) ; // AAAAAAAA
+ irsnd_buffer[2] = ((irmp_data_p->address & 0x000F) << 4) | ((irmp_data_p->command & 0xF000) >> 12) | toggle_bit_rc6; // AAAACCCC
+ irsnd_buffer[3] = (irmp_data_p->command & 0x0FF0) >> 4; // CCCCCCCC
+ irsnd_buffer[4] = (irmp_data_p->command & 0x000F) << 4; // CCCC
+ irsnd_busy = TRUE;
+ break;
+ }
+#endif
#if IRSND_SUPPORT_DENON_PROTOCOL == 1
case IRMP_DENON_PROTOCOL:
{
@@ -745,7 +801,7 @@ irsnd_ISR (void)
pulse_0_len = SIRCS_0_PULSE_LEN;
pause_0_len = SIRCS_PAUSE_LEN;
has_stop_bit = SIRCS_STOP_BIT;
- complete_data_len = SIRCS_MINIMUM_DATA_LEN;
+ complete_data_len = SIRCS_MINIMUM_DATA_LEN + sircs_additional_bitlen;
n_auto_repetitions = (repeat_counter == 0) ? SIRCS_FRAMES : 1; // 3 frames auto repetition if first frame
auto_repetition_pause_len = SIRCS_AUTO_REPETITION_PAUSE_LEN; // 25ms pause
repeat_frame_pause_len = SIRCS_FRAME_REPEAT_PAUSE_LEN;
@@ -904,6 +960,38 @@ irsnd_ISR (void)
break;
}
#endif
+#if IRSND_SUPPORT_RC6_PROTOCOL == 1
+ case IRMP_RC6_PROTOCOL:
+ {
+ startbit_pulse_len = RC6_START_BIT_PULSE_LEN;
+ startbit_pause_len = RC6_START_BIT_PAUSE_LEN;
+ pulse_len = RC6_BIT_LEN;
+ pause_len = RC6_BIT_LEN;
+ has_stop_bit = RC6_STOP_BIT;
+ complete_data_len = RC6_COMPLETE_DATA_LEN_SHORT;
+ n_auto_repetitions = 1; // 1 frame
+ auto_repetition_pause_len = 0;
+ repeat_frame_pause_len = RC6_FRAME_REPEAT_PAUSE_LEN;
+ irsnd_set_freq (IRSND_FREQ_36_KHZ);
+ break;
+ }
+#endif
+#if IRSND_SUPPORT_RC6A_PROTOCOL == 1
+ case IRMP_RC6A_PROTOCOL:
+ {
+ startbit_pulse_len = RC6_START_BIT_PULSE_LEN;
+ startbit_pause_len = RC6_START_BIT_PAUSE_LEN;
+ pulse_len = RC6_BIT_LEN;
+ pause_len = RC6_BIT_LEN;
+ has_stop_bit = RC6_STOP_BIT;
+ complete_data_len = RC6_COMPLETE_DATA_LEN_LONG;
+ n_auto_repetitions = 1; // 1 frame
+ auto_repetition_pause_len = 0;
+ repeat_frame_pause_len = RC6_FRAME_REPEAT_PAUSE_LEN;
+ irsnd_set_freq (IRSND_FREQ_36_KHZ);
+ break;
+ }
+#endif
#if IRSND_SUPPORT_DENON_PROTOCOL == 1
case IRMP_DENON_PROTOCOL:
{
@@ -1297,6 +1385,12 @@ irsnd_ISR (void)
#if IRSND_SUPPORT_RC5_PROTOCOL == 1
case IRMP_RC5_PROTOCOL:
#endif
+#if IRSND_SUPPORT_RC6_PROTOCOL == 1
+ case IRMP_RC6_PROTOCOL:
+#endif
+#if IRSND_SUPPORT_RC6A_PROTOCOL == 1
+ case IRMP_RC6A_PROTOCOL:
+#endif
#if IRSND_SUPPORT_SIEMENS_PROTOCOL == 1
case IRMP_SIEMENS_PROTOCOL:
#endif
@@ -1307,7 +1401,8 @@ irsnd_ISR (void)
case IRMP_NOKIA_PROTOCOL:
#endif
-#if IRSND_SUPPORT_RC5_PROTOCOL == 1 || IRSND_SUPPORT_SIEMENS_PROTOCOL == 1 || IRSND_SUPPORT_GRUNDIG_PROTOCOL == 1 || IRSND_SUPPORT_NOKIA_PROTOCOL == 1
+#if IRSND_SUPPORT_RC5_PROTOCOL == 1 || IRSND_SUPPORT_RC6_PROTOCOL == 1 || IRSND_SUPPORT_RC6A_PROTOCOL == 1 || IRSND_SUPPORT_SIEMENS_PROTOCOL == 1 || \
+ IRSND_SUPPORT_GRUNDIG_PROTOCOL == 1 || IRSND_SUPPORT_NOKIA_PROTOCOL == 1
{
if (pulse_counter == pulse_len && pause_counter == pause_len)
{
@@ -1374,15 +1469,51 @@ irsnd_ISR (void)
first_pulse = (irsnd_buffer[current_bit / 8] & (1<<(7-(current_bit % 8)))) ? TRUE : FALSE;
}
}
- else // if (irsnd_protocol == IRMP_RC5_PROTOCOL || irsnd_protocol == IRMP_SIEMENS_PROTOCOL)
+ else // if (irsnd_protocol == IRMP_RC5_PROTOCOL || irsnd_protocol == IRMP_RC6_PROTOCOL || irsnd_protocol == IRMP_RC6A_PROTOCOL ||
+ // irsnd_protocol == IRMP_SIEMENS_PROTOCOL)
#endif
{
if (current_bit == 0xFF) // 1 start bit
{
+#if IRSND_SUPPORT_RC6_PROTOCOL == 1 || IRSND_SUPPORT_RC6A_PROTOCOL == 1
+ if (irsnd_protocol == IRMP_RC6_PROTOCOL || irsnd_protocol == IRMP_RC6A_PROTOCOL)
+ {
+ pulse_len = startbit_pulse_len;
+ pause_len = startbit_pause_len;
+ }
+#endif
first_pulse = TRUE;
}
else // send n'th bit
{
+#if IRSND_SUPPORT_RC6_PROTOCOL == 1 || IRSND_SUPPORT_RC6A_PROTOCOL == 1
+ if (irsnd_protocol == IRMP_RC6_PROTOCOL || irsnd_protocol == IRMP_RC6A_PROTOCOL)
+ {
+ pulse_len = RC6_BIT_LEN;
+ pause_len = RC6_BIT_LEN;
+
+ if (irsnd_protocol == IRMP_RC6_PROTOCOL)
+ {
+ if (current_bit == 4) // toggle bit (double len)
+ {
+ pulse_len = 2 * RC6_BIT_LEN;
+ pause_len = 2 * RC6_BIT_LEN;
+ }
+ }
+ else // if (irsnd_protocol == IRMP_RC6A_PROTOCOL)
+ {
+ if (current_bit == 4) // toggle bit (double len)
+ {
+ pulse_len = 2 * RC6_BIT_LEN + RC6_BIT_LEN; // hack!
+ pause_len = 2 * RC6_BIT_LEN;
+ }
+ else if (current_bit == 5) // toggle bit (double len)
+ {
+ pause_len = 2 * RC6_BIT_LEN;
+ }
+ }
+ }
+#endif
first_pulse = (irsnd_buffer[current_bit / 8] & (1<<(7-(current_bit % 8)))) ? TRUE : FALSE;
}
@@ -1433,7 +1564,8 @@ irsnd_ISR (void)
}
break;
}
-#endif // IRSND_SUPPORT_RC5_PROTOCOL == 1 || IRSND_SUPPORT_SIEMENS_PROTOCOL == 1 || IRSND_SUPPORT_GRUNDIG_PROTOCOL == 1 || IRSND_SUPPORT_NOKIA_PROTOCOL == 1
+#endif // IRSND_SUPPORT_RC5_PROTOCOL == 1 || IRSND_SUPPORT_RC6_PROTOCOL == 1 || || IRSND_SUPPORT_RC6A_PROTOCOL == 1 || IRSND_SUPPORT_SIEMENS_PROTOCOL == 1 ||
+ // IRSND_SUPPORT_GRUNDIG_PROTOCOL == 1 || IRSND_SUPPORT_NOKIA_PROTOCOL == 1
default:
{
diff --git a/irsndconfig.h b/irsndconfig.h
index 928d55e..6988e03 100644
--- a/irsndconfig.h
+++ b/irsndconfig.h
@@ -3,7 +3,7 @@
*
* Copyright (c) 2010 Frank Meyer - frank(at)fli4l.de
*
- * $Id: irsndconfig.h,v 1.15 2010/11/10 08:01:46 fm Exp $
+ * $Id: irsndconfig.h,v 1.16 2010/11/17 10:33:10 fm Exp $
*
* ATMEGA88 @ 8 MHz
*
@@ -38,7 +38,8 @@
#define IRSND_SUPPORT_RC5_PROTOCOL 1 // RC5 >= 10000 uses ~150 bytes
#define IRSND_SUPPORT_DENON_PROTOCOL 1 // DENON >= 10000 uses ~200 bytes
#define IRSND_SUPPORT_JVC_PROTOCOL 1 // JVC >= 10000 uses ~150 bytes
-#define IRSND_SUPPORT_RC6_PROTOCOL 0 // RC6 NOT SUPPORTED YET! DON'T CHANGE!
+#define IRSND_SUPPORT_RC6_PROTOCOL 1 // RC6 >= 10000 uses ~250 bytes
+#define IRSND_SUPPORT_RC6A_PROTOCOL 1 // RC6A >= 10000 uses ~250 bytes
#define IRSND_SUPPORT_BANG_OLUFSEN_PROTOCOL 1 // Bang&Olufsen >= 10000 uses ~250 bytes
#define IRSND_SUPPORT_GRUNDIG_PROTOCOL 1 // Grundig >= 10000 uses ~300 bytes
#define IRSND_SUPPORT_NOKIA_PROTOCOL 1 // Nokia >= 10000 uses ~400 bytes