From 6331210b94ce5d7cc28b3ff43ba68d6edd632739 Mon Sep 17 00:00:00 2001 From: Thomas Basler Date: Sun, 9 Apr 2023 20:43:02 +0200 Subject: [PATCH] IsReachable of the inverter was never reached --- lib/Hoymiles/src/HoymilesRadio_CMT.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lib/Hoymiles/src/HoymilesRadio_CMT.cpp b/lib/Hoymiles/src/HoymilesRadio_CMT.cpp index 71b8d702..d920fd06 100644 --- a/lib/Hoymiles/src/HoymilesRadio_CMT.cpp +++ b/lib/Hoymiles/src/HoymilesRadio_CMT.cpp @@ -372,10 +372,8 @@ void HoymilesRadio_CMT::loop() CommandAbstract* cmd = _commandQueue.front().get(); uint8_t verifyResult = inv->verifyAllFragments(cmd); if (verifyResult == FRAGMENT_ALL_MISSING_RESEND) { - Hoymiles.getMessageOutput()->println("Nothing received"); - // sendLastPacketAgain(); - _commandQueue.pop(); - _busyFlag = false; + Hoymiles.getMessageOutput()->println("Nothing received, resend whole request"); + sendLastPacketAgain(); } else if (verifyResult == FRAGMENT_ALL_MISSING_TIMEOUT) { Hoymiles.getMessageOutput()->println("Nothing received, resend count exeeded");