1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 16:34:45 -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
@@ -858,6 +858,8 @@ void UDPSource::webapiReverseSendSettings(QList<QString>& channelSettingsKeys, c
{
SWGSDRangel::SWGChannelSettings *swgChannelSettings = new SWGSDRangel::SWGChannelSettings();
swgChannelSettings->setTx(1);
swgChannelSettings->setOriginatorChannelIndex(getIndexInDeviceSet());
swgChannelSettings->setOriginatorDeviceSetIndex(getDeviceSetIndex());
swgChannelSettings->setChannelType(new QString("UDPSource"));
swgChannelSettings->setUdpSourceSettings(new SWGSDRangel::SWGUDPSourceSettings());
SWGSDRangel::SWGUDPSourceSettings *swgUDPSourceSettings = swgChannelSettings->getUdpSourceSettings();