mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-03-21 07:32:18 -04:00
Add Inmarsat Demod to WebAPI
This commit is contained in:
parent
08fdecaeff
commit
b41bc373ad
@ -4595,6 +4595,12 @@ bool WebAPIRequestMapper::getChannelSettings(
|
||||
channelSettings->getIlsDemodSettings()->init();
|
||||
channelSettings->getIlsDemodSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (channelSettingsKey == "InmarsatDemodSettings")
|
||||
{
|
||||
channelSettings->setInmarsatDemodSettings(new SWGSDRangel::SWGInmarsatDemodSettings());
|
||||
channelSettings->getInmarsatDemodSettings()->init();
|
||||
channelSettings->getInmarsatDemodSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (channelSettingsKey == "InterferometerSettings")
|
||||
{
|
||||
channelSettings->setInterferometerSettings(new SWGSDRangel::SWGInterferometerSettings());
|
||||
@ -5565,6 +5571,7 @@ void WebAPIRequestMapper::resetChannelSettings(SWGSDRangel::SWGChannelSettings&
|
||||
channelSettings.setHeatMapSettings(nullptr);
|
||||
channelSettings.setIeee802154ModSettings(nullptr);
|
||||
channelSettings.setIlsDemodSettings(nullptr);
|
||||
channelSettings.setInmarsatDemodSettings(nullptr);
|
||||
channelSettings.setNavtexDemodSettings(nullptr);
|
||||
channelSettings.setNfmDemodSettings(nullptr);
|
||||
channelSettings.setNfmModSettings(nullptr);
|
||||
@ -5610,6 +5617,7 @@ void WebAPIRequestMapper::resetChannelReport(SWGSDRangel::SWGChannelReport& chan
|
||||
channelReport.setFreqTrackerReport(nullptr);
|
||||
channelReport.setHeatMapReport(nullptr);
|
||||
channelReport.setIlsDemodReport(nullptr);
|
||||
channelReport.setInmarsatDemodReport(nullptr);
|
||||
channelReport.setNavtexDemodReport(nullptr);
|
||||
channelReport.setNfmDemodReport(nullptr);
|
||||
channelReport.setNfmModReport(nullptr);
|
||||
|
||||
@ -53,6 +53,7 @@ const QMap<QString, QString> WebAPIUtils::m_channelURIToSettingsKey = {
|
||||
{"sdrangel.channel.freqtracker", "FreqTrackerSettings"},
|
||||
{"sdrangel.channel.heatmap", "HeatMapSettings"},
|
||||
{"sdrangel.channel.ilsdemod", "ILSDemodSettings"},
|
||||
{"sdrangel.channel.inmarsatdemod", "InmarsatDemodSettings"},
|
||||
{"sdrangel.channel.navtexemod", "NavtexDemodSettings"},
|
||||
{"sdrangel.channel.m17demod", "M17DemodSettings"},
|
||||
{"sdrangel.channeltx.modm17", "M17ModSettings"},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user