1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-01 13:47:01 -04:00

Reverse API originator information: implemented in all channel Tx plugins

This commit is contained in:
f4exb
2019-03-25 13:57:59 +01:00
parent 4e4d293e01
commit 369aebf1ed
14 changed files with 21 additions and 7 deletions
@@ -514,6 +514,8 @@ void RemoteSource::webapiReverseSendSettings(QList<QString>& channelSettingsKeys
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("RemoteSource"));
swgChannelSettings->setRemoteSourceSettings(new SWGSDRangel::SWGRemoteSourceSettings());
SWGSDRangel::SWGRemoteSourceSettings *swgRemoteSourceSettings = swgChannelSettings->getRemoteSourceSettings();