mirror of https://github.com/f4exb/sdrangel.git
SDRPlayV3: correct API hardware ID
This commit is contained in:
parent
946c3b0dd0
commit
786d753ec9
|
@ -944,7 +944,7 @@ void SDRPlayV3Input::webapiReverseSendSettings(QList<QString>& deviceSettingsKey
|
||||||
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
|
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
|
||||||
swgDeviceSettings->setDirection(0); // single Rx
|
swgDeviceSettings->setDirection(0); // single Rx
|
||||||
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
|
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
|
||||||
swgDeviceSettings->setDeviceHwType(new QString("SDRplay"));
|
swgDeviceSettings->setDeviceHwType(new QString("SDRplayV3"));
|
||||||
swgDeviceSettings->setSdrPlayV3Settings(new SWGSDRangel::SWGSDRPlayV3Settings());
|
swgDeviceSettings->setSdrPlayV3Settings(new SWGSDRangel::SWGSDRPlayV3Settings());
|
||||||
SWGSDRangel::SWGSDRPlayV3Settings *swgSDRPlayV3Settings = swgDeviceSettings->getSdrPlayV3Settings();
|
SWGSDRangel::SWGSDRPlayV3Settings *swgSDRPlayV3Settings = swgDeviceSettings->getSdrPlayV3Settings();
|
||||||
|
|
||||||
|
@ -1029,7 +1029,7 @@ void SDRPlayV3Input::webapiReverseSendStartStop(bool start)
|
||||||
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
|
SWGSDRangel::SWGDeviceSettings *swgDeviceSettings = new SWGSDRangel::SWGDeviceSettings();
|
||||||
swgDeviceSettings->setDirection(0); // single Rx
|
swgDeviceSettings->setDirection(0); // single Rx
|
||||||
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
|
swgDeviceSettings->setOriginatorIndex(m_deviceAPI->getDeviceSetIndex());
|
||||||
swgDeviceSettings->setDeviceHwType(new QString("SDRplay"));
|
swgDeviceSettings->setDeviceHwType(new QString("SDRplayV3"));
|
||||||
|
|
||||||
QString deviceSettingsURL = QString("http://%1:%2/sdrangel/deviceset/%3/device/run")
|
QString deviceSettingsURL = QString("http://%1:%2/sdrangel/deviceset/%3/device/run")
|
||||||
.arg(m_settings.m_reverseAPIAddress)
|
.arg(m_settings.m_reverseAPIAddress)
|
||||||
|
|
|
@ -199,7 +199,7 @@ const QMap<QString, QString> WebAPIUtils::m_sourceDeviceHwIdToSettingsKey = {
|
||||||
{"RTLSDR", "rtlSdrSettings"},
|
{"RTLSDR", "rtlSdrSettings"},
|
||||||
{"RemoteInput", "remoteInputSettings"},
|
{"RemoteInput", "remoteInputSettings"},
|
||||||
{"SDRplay1", "sdrPlaySettings"},
|
{"SDRplay1", "sdrPlaySettings"},
|
||||||
{"SDRplay", "sdrPlayV3Settings"},
|
{"SDRplayV3", "sdrPlayV3Settings"},
|
||||||
{"SigMFFileInput", "sigMFFileInputSettings"},
|
{"SigMFFileInput", "sigMFFileInputSettings"},
|
||||||
{"SoapySDR", "soapySDRInputSettings"},
|
{"SoapySDR", "soapySDRInputSettings"},
|
||||||
{"TestSource", "testSourceSettings"},
|
{"TestSource", "testSourceSettings"},
|
||||||
|
@ -223,7 +223,7 @@ const QMap<QString, QString> WebAPIUtils::m_sourceDeviceHwIdToActionsKey = {
|
||||||
{"RemoteInput", "remoteInputActions"},
|
{"RemoteInput", "remoteInputActions"},
|
||||||
{"RTLSDR", "rtlSdrActions"},
|
{"RTLSDR", "rtlSdrActions"},
|
||||||
{"SDRplay1", "sdrPlayActions"},
|
{"SDRplay1", "sdrPlayActions"},
|
||||||
{"SDRplay", "sdrPlayV3Actions"},
|
{"SDRplayV3", "sdrPlayV3Actions"},
|
||||||
{"SigMFFileInput", "sigMFFileActions"},
|
{"SigMFFileInput", "sigMFFileActions"},
|
||||||
{"SoapySDR", "soapySDRInputActions"},
|
{"SoapySDR", "soapySDRInputActions"},
|
||||||
{"TestSource", "testSourceActions"},
|
{"TestSource", "testSourceActions"},
|
||||||
|
|
Loading…
Reference in New Issue