mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-02 14:04:46 -04:00
XTRX MIMO: REST API
This commit is contained in:
@@ -3975,16 +3975,25 @@ bool WebAPIRequestMapper::getDeviceSettings(
|
||||
deviceSettings->setUsrpOutputSettings(new SWGSDRangel::SWGUSRPOutputSettings());
|
||||
deviceSettings->getUsrpOutputSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (deviceSettingsKey == "XtrxInputSettings")
|
||||
else if (deviceSettingsKey == "xtrxInputSettings")
|
||||
{
|
||||
deviceSettings->setXtrxInputSettings(new SWGSDRangel::SWGXtrxInputSettings());
|
||||
deviceSettings->getXtrxInputSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (deviceSettingsKey == "XtrxOutputSettings")
|
||||
else if (deviceSettingsKey == "xtrxOutputSettings")
|
||||
{
|
||||
deviceSettings->setXtrxOutputSettings(new SWGSDRangel::SWGXtrxOutputSettings());
|
||||
deviceSettings->getXtrxOutputSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (deviceSettingsKey == "XtrxMIMOSettings")
|
||||
{
|
||||
if (deviceSettingsKeys.contains("streams") && settingsJsonObject["streams"].isArray()) {
|
||||
appendSettingsArrayKeys(settingsJsonObject, "streams", deviceSettingsKeys);
|
||||
}
|
||||
|
||||
deviceSettings->setXtrxMimoSettings(new SWGSDRangel::SWGXtrxMIMOSettings());
|
||||
deviceSettings->getXtrxMimoSettings()->fromJsonObject(settingsJsonObject);
|
||||
}
|
||||
else if (deviceSettingsKey == "remoteInputSettings")
|
||||
{
|
||||
deviceSettings->setRemoteInputSettings(new SWGSDRangel::SWGRemoteInputSettings());
|
||||
|
||||
Reference in New Issue
Block a user