mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 10:05:46 -05:00
REST API: fixed reverse API address setting
This commit is contained in:
parent
b0a1f97fbc
commit
46e92e41dc
@ -443,7 +443,7 @@ int DaemonSink::webapiSettingsPutPatch(
|
||||
settings.m_useReverseAPI = response.getDaemonSinkSettings()->getUseReverseApi() != 0;
|
||||
}
|
||||
if (channelSettingsKeys.contains("reverseAPIAddress")) {
|
||||
settings.m_reverseAPIAddress = *response.getDaemonSinkSettings()->getReverseApiAddress() != 0;
|
||||
settings.m_reverseAPIAddress = *response.getDaemonSinkSettings()->getReverseApiAddress();
|
||||
}
|
||||
if (channelSettingsKeys.contains("reverseAPIPort")) {
|
||||
settings.m_reverseAPIPort = response.getDaemonSinkSettings()->getReverseApiPort();
|
||||
|
@ -1300,7 +1300,7 @@ int LimeSDROutput::webapiSettingsPutPatch(
|
||||
settings.m_useReverseAPI = response.getLimeSdrOutputSettings()->getUseReverseApi() != 0;
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIAddress")) {
|
||||
settings.m_reverseAPIAddress = *response.getLimeSdrOutputSettings()->getReverseApiAddress() != 0;
|
||||
settings.m_reverseAPIAddress = *response.getLimeSdrOutputSettings()->getReverseApiAddress();
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIPort")) {
|
||||
settings.m_reverseAPIPort = response.getLimeSdrOutputSettings()->getReverseApiPort();
|
||||
|
@ -1225,7 +1225,7 @@ int XTRXOutput::webapiSettingsPutPatch(
|
||||
settings.m_useReverseAPI = response.getXtrxOutputSettings()->getUseReverseApi() != 0;
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIAddress")) {
|
||||
settings.m_reverseAPIAddress = *response.getXtrxOutputSettings()->getReverseApiAddress() != 0;
|
||||
settings.m_reverseAPIAddress = *response.getXtrxOutputSettings()->getReverseApiAddress();
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIPort")) {
|
||||
settings.m_reverseAPIPort = response.getXtrxOutputSettings()->getReverseApiPort();
|
||||
|
@ -1509,7 +1509,7 @@ int LimeSDRInput::webapiSettingsPutPatch(
|
||||
settings.m_useReverseAPI = response.getLimeSdrInputSettings()->getUseReverseApi() != 0;
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIAddress")) {
|
||||
settings.m_reverseAPIAddress = *response.getLimeSdrInputSettings()->getReverseApiAddress() != 0;
|
||||
settings.m_reverseAPIAddress = *response.getLimeSdrInputSettings()->getReverseApiAddress();
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIPort")) {
|
||||
settings.m_reverseAPIPort = response.getLimeSdrInputSettings()->getReverseApiPort();
|
||||
|
@ -649,7 +649,7 @@ int RTLSDRInput::webapiSettingsPutPatch(
|
||||
settings.m_useReverseAPI = response.getRtlSdrSettings()->getUseReverseApi() != 0;
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIAddress")) {
|
||||
settings.m_reverseAPIAddress = *response.getRtlSdrSettings()->getReverseApiAddress() != 0;
|
||||
settings.m_reverseAPIAddress = *response.getRtlSdrSettings()->getReverseApiAddress();
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIPort")) {
|
||||
settings.m_reverseAPIPort = response.getRtlSdrSettings()->getReverseApiPort();
|
||||
|
@ -1400,7 +1400,7 @@ int XTRXInput::webapiSettingsPutPatch(
|
||||
settings.m_useReverseAPI = response.getXtrxInputSettings()->getUseReverseApi() != 0;
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIAddress")) {
|
||||
settings.m_reverseAPIAddress = *response.getXtrxInputSettings()->getReverseApiAddress() != 0;
|
||||
settings.m_reverseAPIAddress = *response.getXtrxInputSettings()->getReverseApiAddress();
|
||||
}
|
||||
if (deviceSettingsKeys.contains("reverseAPIPort")) {
|
||||
settings.m_reverseAPIPort = response.getXtrxInputSettings()->getReverseApiPort();
|
||||
|
Loading…
Reference in New Issue
Block a user