fix read too many telegram parts, 3.7.1-dev.6

This commit is contained in:
MichaelDvP
2024-11-14 12:27:38 +01:00
parent d899b58284
commit 1811558069
3 changed files with 8 additions and 3 deletions

View File

@@ -1488,7 +1488,7 @@ void EMSESP::incoming_telegram(uint8_t * data, const uint8_t length) {
// if telegram is longer read next part with offset +25 for ems+ or +27 for ems1.0
// not for response to raw send commands without read_id set
if ((response_id_ == 0 || read_id_ > 0) && (txservice_.read_next_tx(data[3], length) == read_id_)) {
if ((response_id_ == 0 || read_id_ > 0) && (txservice_.read_next_tx(data[3], length) > 0)) {
read_next_ = true;
txservice_.send(); // read next part withing same poll or:
// txservice_.send_poll(); // close the bus, next request in new poll

View File

@@ -1 +1 @@
#define EMSESP_APP_VERSION "3.7.1-dev.5"
#define EMSESP_APP_VERSION "3.7.1-dev.6"