mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 16:08:39 -05:00
commit
b502a71170
@ -575,18 +575,34 @@ int PacketMod::webapiActionsPost(
|
||||
if (channelActionsKeys.contains("tx"))
|
||||
{
|
||||
SWGSDRangel::SWGPacketModActions_tx* tx = swgPacketModActions->getTx();
|
||||
QString callsign(*tx->getCallsign());
|
||||
QString to(*tx->getTo());
|
||||
QString via(*tx->getVia());
|
||||
QString data(*tx->getData());
|
||||
QString *callsignP = tx->getCallsign();
|
||||
QString *toP = tx->getTo();
|
||||
QString *viaP = tx->getVia();
|
||||
QString *dataP = tx->getData();
|
||||
if (callsignP && toP && viaP && dataP)
|
||||
{
|
||||
QString callsign(*callsignP);
|
||||
QString to(*toP);
|
||||
QString via(*viaP);
|
||||
QString data(*dataP);
|
||||
|
||||
PacketMod::MsgTXPacketMod *msg = PacketMod::MsgTXPacketMod::create(callsign, to, via, data);
|
||||
m_basebandSource->getInputMessageQueue()->push(msg);
|
||||
}
|
||||
|
||||
return 202;
|
||||
}
|
||||
else
|
||||
{
|
||||
errorMessage = "Packet must contain callsign, to, via and data";
|
||||
return 400;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
errorMessage = "Unknown action";
|
||||
return 400;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
errorMessage = "Missing PacketModActions in query";
|
||||
return 400;
|
||||
|
@ -39,7 +39,8 @@ PacketModSource::PacketModSource() :
|
||||
m_bitIdx(0),
|
||||
m_last5Bits(0),
|
||||
m_state(idle),
|
||||
m_scrambler(0x10800, 0x0)
|
||||
m_scrambler(0x10800, 0x0),
|
||||
m_spectrumSink(nullptr)
|
||||
{
|
||||
m_lowpass.create(301, m_channelSampleRate, 22000.0 / 2.0);
|
||||
qDebug() << "PacketModSource::PacketModSource creating BPF : " << m_channelSampleRate;
|
||||
|
@ -48,7 +48,7 @@ Enter your amateur radio callsign and optionally a sub-station ID (SSID). E.g. M
|
||||
|
||||
<h3>10: Preemphaisis Filter</h3>
|
||||
|
||||
Check this button to enable a FM preemphasis filter, which amplifiers higher frequencies. Right click to open the dialog to adjust settings for the filter.
|
||||
Check this button to enable a FM preemphasis filter, which amplifies higher frequencies. Right click to open the dialog to adjust settings for the filter.
|
||||
|
||||
<h3>11: Bandpass Filter</h3>
|
||||
|
||||
@ -58,7 +58,7 @@ Check this button to enable a baseband bandpass filter. Right click to open the
|
||||
|
||||
Check this button to repeated transmit a packet. Right click to open the dialog to adjust the delay between retransmission and number of times the packet should be repeated.
|
||||
|
||||
<h3>13: Insertion position</h3>
|
||||
<h3>13: Insert position</h3>
|
||||
|
||||
Inserts position as APRS formatted latitude and longitude in to the current cursor position within the data field. Lattitude and longitude can be specified under Preferences > My position.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user