Allow kenwood rigs to retry all commands using ID; verfication method

The actual cmd was only being sent once during the retry loop
https://github.com/Hamlib/Hamlib/issues/983
pull/989/head
Mike Black W9MDB 2022-03-12 08:12:45 -06:00
rodzic c66f54c208
commit 56866fecd5
2 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -384,6 +384,12 @@ transaction_read:
// only retry if we expect a response from the command
if (retry_read++ < rs->rigport.retry)
{
goto transaction_write;
// we use to not re-do the write
// but now we use ID; to verify commands are working
// so in order to retry commands need to re-write them
// https://github.com/Hamlib/Hamlib/issues/983
#if 0
if (datasize)
{
goto transaction_write;
@ -392,6 +398,7 @@ transaction_read:
{
goto transaction_read;
}
#endif
}
goto transaction_quit;

Wyświetl plik

@ -28,7 +28,7 @@
#include "token.h"
#include "misc.h"
#define BACKEND_VER "20220213"
#define BACKEND_VER "20220312"
#define EOM_KEN ';'
#define EOM_TH '\r'