X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/hmcfgusb/blobdiff_plain/f51714bea4af46dd81d3ed97acffea57201f108f..e728a6f8c7a1ab84e411129c166cfd8d9d95e1e0:/hmsniff.c diff --git a/hmsniff.c b/hmsniff.c index 9b59e2f..82907f7 100644 --- a/hmsniff.c +++ b/hmsniff.c @@ -1,6 +1,6 @@ /* HM-sniffer for HM-CFG-USB * - * Copyright (c) 2013-15 Michael Gernoth + * Copyright (c) 2013-16 Michael Gernoth * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to @@ -89,6 +89,9 @@ char *hm_message_types(uint8_t type, uint8_t subtype) case 0x53: return "Water sensor"; break; + case 0x54: + return "Gas sensor"; + 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: + case 0x5f: return "Power event"; break; case 0x70: @@ -243,7 +247,7 @@ int main(int argc, char **argv) break; case 'V': printf("hmsniff " VERSION "\n"); - printf("Copyright (c) 2013-15 Michael Gernoth\n\n"); + printf("Copyright (c) 2013-16 Michael Gernoth\n\n"); exit(EXIT_SUCCESS); case 'h': case ':':