Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frequency Scanner plugin #1852

Merged
merged 27 commits into from
Oct 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
3752122
Add frequency scanner channel plugin
srcejon Sep 28, 2023
b42b6be
Add Freq Scanner
srcejon Sep 28, 2023
2192a05
Generate swagger files for Freq Scanner
srcejon Sep 28, 2023
7fe7f2a
Update threading to latest approach
srcejon Sep 29, 2023
f3582b9
Set background colour for start/stop button
srcejon Sep 29, 2023
e9066fe
Use frame geo rather than widget size, so dialogs aren't positioned o…
srcejon Sep 29, 2023
b3d3ca4
Fix filtering of Freq Scanner from list of channels.
srcejon Sep 29, 2023
3a8a0f0
Reduce debug. Add screenshot.
srcejon Sep 29, 2023
4462078
Update docs
srcejon Sep 29, 2023
33629b7
Center channels when possible. Fix channel setting initial display. A…
srcejon Sep 29, 2023
e89623f
Fix restoring frequencies.
srcejon Sep 29, 2023
f8f9d27
Update annotations when restoring settings.
srcejon Sep 29, 2023
d2526cd
Fix loading settings. Add remove inactive button. Restart scan when s…
srcejon Oct 2, 2023
83ceae4
Use full bandwidth
srcejon Oct 3, 2023
2d8ae13
Add signal for when annotations change
srcejon Oct 3, 2023
bb2655c
Fix warnings
srcejon Oct 3, 2023
51ddd77
Fix 8333 channels.
srcejon Oct 13, 2023
515e19f
Fix crash and tidy up UI.
srcejon Oct 13, 2023
fd5b14a
Merge branch 'f4exb:master' into freq_scanner
srcejon Oct 15, 2023
939476b
Merge branch 'f4exb:master' into freq_scanner
srcejon Oct 16, 2023
f204148
Merge branch 'f4exb:master' into freq_scanner
srcejon Oct 17, 2023
4ce62c6
Merge branch 'f4exb:master' into freq_scanner
srcejon Oct 17, 2023
bb88296
Merge branch 'f4exb:master' into freq_scanner
srcejon Oct 18, 2023
ce6b08b
Add menu to enable/disable all rows.
srcejon Oct 22, 2023
3e147ec
Avoid using channel guard bands, due to possible aliasing from half-b…
srcejon Oct 22, 2023
1b392ee
Fix warnings
srcejon Oct 22, 2023
3b0512b
Fix crash if some columns in .csv file is missing
srcejon Oct 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,7 @@ option(ENABLE_CHANNELRX_DEMODRTTY "Enable channelrx demodrtty plugin" ON)
option(ENABLE_CHANNELRX_DEMODILS "Enable channelrx demodils plugin" ON)
option(ENABLE_CHANNELRX_DEMODDSC "Enable channelrx demoddsc plugin" ON)
option(ENABLE_CHANNELRX_HEATMAP "Enable channelrx heatmap plugin" ON)
option(ENABLE_CHANNELRX_FREQSCANNER "Enable channelrx freqscanner plugin" ON)

# Channel Tx enablers
option(ENABLE_CHANNELTX "Enable channeltx plugins" ON)
Expand Down
Binary file added doc/img/FreqScanner_plugin.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions plugins/channelrx/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
project(demod)

if (ENABLE_CHANNELRX_FREQSCANNER)
add_subdirectory(freqscanner)
endif()

if (ENABLE_CHANNELRX_DEMODADSB AND Qt${QT_DEFAULT_MAJOR_VERSION}Quick_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}QuickWidgets_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}Positioning_FOUND AND Qt${QT_DEFAULT_MAJOR_VERSION}TextToSpeech_FOUND)
add_subdirectory(demodadsb)
# add_subdirectory(demodvormc)
Expand Down
66 changes: 66 additions & 0 deletions plugins/channelrx/freqscanner/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
project(freqscanner)

set(freqscanner_SOURCES
freqscanner.cpp
freqscannersettings.cpp
freqscannerbaseband.cpp
freqscannersink.cpp
freqscannerplugin.cpp
freqscannerwebapiadapter.cpp
)

set(freqscanner_HEADERS
freqscanner.h
freqscannersettings.h
freqscannerbaseband.h
freqscannersink.h
freqscannerplugin.h
freqscannerwebapiadapter.h
)

include_directories(
${CMAKE_SOURCE_DIR}/swagger/sdrangel/code/qt5/client
)

if(NOT SERVER_MODE)
set(freqscanner_SOURCES
${freqscanner_SOURCES}
freqscannergui.cpp
freqscannergui.ui
freqscanneraddrangedialog.cpp
freqscanneraddrangedialog.ui
)
set(freqscanner_HEADERS
${freqscanner_HEADERS}
freqscannergui.h
freqscanneraddrangedialog.h
)

set(TARGET_NAME freqscanner)
set(TARGET_LIB "Qt::Widgets")
set(TARGET_LIB_GUI "sdrgui")
set(INSTALL_FOLDER ${INSTALL_PLUGINS_DIR})
else()
set(TARGET_NAME freqscannersrv)
set(TARGET_LIB "")
set(TARGET_LIB_GUI "")
set(INSTALL_FOLDER ${INSTALL_PLUGINSSRV_DIR})
endif()

add_library(${TARGET_NAME} SHARED
${freqscanner_SOURCES}
)

target_link_libraries(${TARGET_NAME}
Qt::Core
${TARGET_LIB}
sdrbase
${TARGET_LIB_GUI}
)

install(TARGETS ${TARGET_NAME} DESTINATION ${INSTALL_FOLDER})

# Install debug symbols
if (WIN32)
install(FILES $<TARGET_PDB_FILE:${TARGET_NAME}> CONFIGURATIONS Debug RelWithDebInfo DESTINATION ${INSTALL_FOLDER} )
endif()
Loading
Loading