1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2026-06-07 08:24:43 -04:00

Allow ADS-B to send airport ATC frequencies to Frequency Scanner.

Add ATC callsigns.
Add ATC mode, displaying basic info for all aircraft.
Add airport range rings.
Change Device setting to be an AM Demod setting, so AM demod isn't at DC.
Add basic aircraft data to ADSB Web API report.
This commit is contained in:
srcejon
2023-10-26 16:31:37 +01:00
parent a20e7999d1
commit a398381aaf
26 changed files with 6735 additions and 450 deletions
+17
View File
@@ -433,3 +433,20 @@ void MainCore::updateWakeLock()
}
#endif
std::vector<ChannelAPI*> MainCore::getChannels(const QString& uri)
{
std::vector<ChannelAPI*> channels;
for (const auto deviceSet : m_deviceSets)
{
for (int chi = 0; chi < deviceSet->getNumberOfChannels(); chi++)
{
ChannelAPI* channel = deviceSet->getChannelAt(chi);
if (channel->getURI() == uri) {
channels.push_back(channel);
}
}
}
return channels;
}