]> git.zerfleddert.de Git - hmcfgusb/commitdiff
hmsniff: add two more message types
authorMichael Gernoth <michael@gernoth.net>
Tue, 31 May 2016 21:51:28 +0000 (23:51 +0200)
committerMichael Gernoth <michael@gernoth.net>
Tue, 31 May 2016 21:51:28 +0000 (23:51 +0200)
hmsniff.c

index 051c95cde524be68d0ea1a636e02a7ee81f71a40..82907f78b8f9029e3232b495af28839717eb8f87 100644 (file)
--- a/hmsniff.c
+++ b/hmsniff.c
@@ -89,6 +89,9 @@ char *hm_message_types(uint8_t type, uint8_t subtype)
                case 0x53:
                        return "Water sensor";
                        break;
                case 0x53:
                        return "Water sensor";
                        break;
+               case 0x54:
+                       return "Gas sensor";
+                       break;
                case 0x58:
                        return "Climate event";
                        break;
                case 0x58:
                        return "Climate event";
                        break;
@@ -96,6 +99,7 @@ char *hm_message_types(uint8_t type, uint8_t subtype)
                        return "Thermal control";
                        break;
                case 0x5e:
                        return "Thermal control";
                        break;
                case 0x5e:
+               case 0x5f:
                        return "Power event";
                        break;
                case 0x70:
                        return "Power event";
                        break;
                case 0x70:
Impressum, Datenschutz