mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-09 09:19:51 +03:00
fix read too many telegram parts, 3.7.1-dev.6
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1 +1 @@
|
||||
#define EMSESP_APP_VERSION "3.7.1-dev.5"
|
||||
#define EMSESP_APP_VERSION "3.7.1-dev.6"
|
||||
Reference in New Issue
Block a user