From 0bb7e5cc92c1a71b49e71fe9f2937bc9c9328ace Mon Sep 17 00:00:00 2001 From: Sven Giermann Date: Sun, 7 Feb 2016 11:51:14 +0100 Subject: [PATCH] Add missing 2 byte BCD time type This is at least used by newer Vaillant models (VRC700, VR70, VR900). --- src/lib/ebus/data.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/ebus/data.cpp b/src/lib/ebus/data.cpp index 565a63e1..3fe38c2a 100644 --- a/src/lib/ebus/data.cpp +++ b/src/lib/ebus/data.cpp @@ -51,6 +51,7 @@ static const dataType_t dataTypes[] = { {"BTI", 24, bt_tim, BCD|REV|REQ, 0, 8, 8, 0}, // time in BCD, 00:00:00 - 23:59:59 (0x00,0x00,0x00 - 0x59,0x59,0x23) {"HTI", 24, bt_tim, REQ, 0, 8, 8, 0}, // time, 00:00:00 - 23:59:59 (0x00,0x00,0x00 - 0x17,0x3b,0x3b) {"VTI", 24, bt_tim, REV, 0x63, 8, 8, 0}, // time, 00:00:00 - 23:59:59 (0x00,0x00,0x00 - 0x3b,0x3b,0x17, replacement 0x63) [Vaillant type] + {"BTM", 16, bt_tim, BCD|REV, 0xff, 5, 5, 0}, // time in BCD, 00:00 - 23:59 (0x00,0x00 - 0x59,0x23, replacement 0xff) [Vaillant type] {"HTM", 16, bt_tim, REQ, 0, 5, 5, 0}, // time as hh:mm, 00:00 - 23:59 (0x00,0x00 - 0x17,0x3b) {"VTM", 16, bt_tim, REV, 0xff, 5, 5, 0}, // time as hh:mm, 00:00 - 23:59 (0x00,0x00 - 0x3b,0x17, replacement 0xff) [Vaillant type] {"TTM", 8, bt_tim, 0, 0x90, 5, 5, 10}, // truncated time (only multiple of 10 minutes), 00:00 - 24:00 (minutes div 10 + hour * 6 as integer)