From e4a07991634880c45f8f86badbdec629cbcffda1 Mon Sep 17 00:00:00 2001 From: MichaelDvP <59284019+MichaelDvP@users.noreply.github.com> Date: Tue, 30 May 2023 09:41:26 +0200 Subject: [PATCH] 3 retrys on rejected tx, fixes #1179 please delete branch after merge. My dev branch contains the mqtt lib, so i edit on github directly. --- src/emsesp.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/emsesp.cpp b/src/emsesp.cpp index e693c627c..b269eb749 100644 --- a/src/emsesp.cpp +++ b/src/emsesp.cpp @@ -1296,8 +1296,6 @@ void EMSESP::incoming_telegram(uint8_t * data, const uint8_t length) { } else if (first_value == TxService::TX_WRITE_FAIL) { LOG_ERROR("Last Tx write rejected by host"); txservice_.send_poll(); // close the bus - txservice_.reset_retry_count(); - tx_successful = true; } } else if (tx_state == Telegram::Operation::TX_READ) { // got a telegram with data in it. See if the src/dest matches that from the last one we sent and continue to process it