Merge pull request #234 from pswid/dev

This commit is contained in:
Proddy
2021-12-03 09:38:40 +01:00
committed by GitHub
2 changed files with 6 additions and 4 deletions

View File

@@ -5,6 +5,7 @@
## Added ## Added
## Fixed ## Fixed
- lastcode broke MQTT JSON structure [#228]
## Changed ## Changed

View File

@@ -815,10 +815,11 @@ void Boiler::process_UBAErrorMessage(std::shared_ptr<const Telegram> telegram) {
// 0xC2 // 0xC2
void Boiler::process_UBAErrorMessage2(std::shared_ptr<const Telegram> telegram) { void Boiler::process_UBAErrorMessage2(std::shared_ptr<const Telegram> telegram) {
// not sure why this test is in , so removing // for decoding "last error code" we need telegram starting with offset 0
// if (telegram->offset > 0 || telegram->message_length < 14) { if (telegram->offset != 0 || telegram->message_length < 20) {
// return; return;
// } }
char code[4]; char code[4];
uint16_t codeNo; uint16_t codeNo;
char start_time[17]; char start_time[17];