diff --git a/main/ZgatewayBT.ino b/main/ZgatewayBT.ino index 5a7105e..2203570 100644 --- a/main/ZgatewayBT.ino +++ b/main/ZgatewayBT.ino @@ -499,7 +499,7 @@ String returnedString = ""; unsigned long timebt = 0; // this struct define which parts of the hexadecimal chain we extract and what to do with these parts -struct decompose d[6] = {{"mac", 16, 12, true}, {"typ", 28, 2, false}, {"rsi", 30, 2, false}, {"rdl", 32, 2, false}, {"sty", 44, 4, true}, {"rda", 56, 60, false}}; +struct decompose d[6] = {{"mac", 16, 12, true}, {"typ", 28, 2, false}, {"rsi", 30, 2, false}, {"rdl", 32, 2, false}, {"sty", 44, 4, true}, {"rda", 48, 60, false}}; void setupBT() { BLEinterval = TimeBtw_Read;