Revert "Handle D-Plus reply of "BUSY" as a rejection. Treat "OKRO" in the same way."

This reverts commit 46b78d3335.
This commit is contained in:
Jonathan Naylor 2020-08-04 12:10:55 +01:00
parent 46b78d3335
commit f9f233f2cb
2 changed files with 6 additions and 6 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (C) 2010,2012,2013,2020 by Jonathan Naylor G4KLX
* Copyright (C) 2010,2012,2013 by Jonathan Naylor G4KLX
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -252,10 +252,10 @@ bool CConnectData::setDPlusData(const unsigned char* data, unsigned int length,
wxString reply((const char*)(data + 4U), wxConvLocal, 4U);
wxLogMessage(wxT("D-Plus reply is %.4s"), reply.c_str());
if (::memcmp(data + 4U, "OKRW", 4U) != 0)
return false;
else
if (::memcmp(data + 4U, "OKRW", 4U) == 0)
m_type = CT_ACK;
else
m_type = CT_NAK;
}
break;

View file

@ -24,9 +24,9 @@
const wxString VENDOR_NAME = wxT("G4KLX");
#if defined(__WXDEBUG__)
const wxString VERSION = wxT("20200803 - DEBUG");
const wxString VERSION = wxT("20200621 - DEBUG");
#else
const wxString VERSION = wxT("20190803");
const wxString VERSION = wxT("20190621");
#endif
#endif