1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-03 06:24:48 -04:00

24 bit DSP: document in log and Web API. Adding PID information

This commit is contained in:
f4exb
2018-01-22 23:29:09 +01:00
parent a47587e16f
commit 9bafb2d9b3
13 changed files with 196 additions and 41 deletions
+5 -2
View File
@@ -69,9 +69,12 @@ int WebAPIAdapterSrv::instanceSummary(
SWGSDRangel::SWGErrorResponse& error __attribute__((unused)))
{
*response.getAppname() = QCoreApplication::instance()->applicationName();
*response.getVersion() = QCoreApplication::instance()->applicationVersion();
*response.getAppname() = QCoreApplication::applicationName();
*response.getVersion() = QCoreApplication::applicationVersion();
*response.getQtVersion() = QString(QT_VERSION_STR);
response.setDspRxBits(SDR_RX_SAMP_SZ);
response.setDspTxBits(SDR_TX_SAMP_SZ);
response.setPid(QCoreApplication::applicationPid());
#if QT_VERSION >= 0x050400
*response.getArchitecture() = QString(QSysInfo::currentCpuArchitecture());
*response.getOs() = QString(QSysInfo::prettyProductName());