Read long telegrams complete

This commit is contained in:
MichaelDvP
2020-10-12 17:54:21 +02:00
parent 7dca8dfe2d
commit a9041b7818
4 changed files with 11 additions and 1 deletions

View File

@@ -790,6 +790,10 @@ void EMSESP::incoming_telegram(uint8_t * data, const uint8_t length) {
txservice_.send_poll(); // close the bus
txservice_.reset_retry_count();
tx_successful = true;
// if telegram is longer read next part with offset + 25 for ems+
if (length == 32) {
txservice_.read_next_tx();
}
}
}