mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2026-01-04 15:29:57 +01:00
Add extra logging for APRS startup.
This commit is contained in:
parent
0d5dae1d29
commit
8d62efeec3
|
|
@ -190,6 +190,8 @@ bool CAPRSWriter::open()
|
|||
|
||||
::gps_stream(&m_gpsdData, WATCH_ENABLE | WATCH_JSON, NULL);
|
||||
|
||||
wxLogMessage(wxT("Connected to GPSD"));
|
||||
|
||||
// Poll the GPS every minute
|
||||
m_idTimer.setTimeout(60U);
|
||||
} else {
|
||||
|
|
@ -200,7 +202,13 @@ bool CAPRSWriter::open()
|
|||
#endif
|
||||
m_idTimer.start();
|
||||
|
||||
return m_aprsSocket.open();
|
||||
bool ret = m_aprsSocket.open();
|
||||
if (!ret)
|
||||
return false;
|
||||
|
||||
wxLogMessage(wxT("Opened connection to the APRS Gateway"));
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
void CAPRSWriter::writeHeader(const wxString& callsign, const CHeaderData& header)
|
||||
|
|
|
|||
|
|
@ -24,9 +24,9 @@
|
|||
const wxString VENDOR_NAME = wxT("G4KLX");
|
||||
|
||||
#if defined(__WXDEBUG__)
|
||||
const wxString VERSION = wxT("20200603 - DEBUG");
|
||||
const wxString VERSION = wxT("20200604 - DEBUG");
|
||||
#else
|
||||
const wxString VERSION = wxT("20190603");
|
||||
const wxString VERSION = wxT("20190604");
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue