SoapySDR: Allow channel selection by using the subdev device argument#416
Merged
rjonaitis merged 5 commits intomyriadrf:masterfrom May 15, 2025
Merged
SoapySDR: Allow channel selection by using the subdev device argument#416rjonaitis merged 5 commits intomyriadrf:masterfrom
rjonaitis merged 5 commits intomyriadrf:masterfrom
Conversation
rjonaitis
requested changes
May 15, 2025
Contributor
Author
|
renamed added an error log when the |
rjonaitis
approved these changes
May 15, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change implements channel selection by specifying the
subdevargument in the SoapySDR string. Some programs allow using only one channel (but won't let you select which one), or require you to setup multiple streams to access the higher numbered channels, even if you only care about one.This has been tested successfully with SoapySDRServer 0.5.2 and Gqrx 2.17.4.
For Gqrx, using the string
soapy=0,driver=lime,serial=XXXXXXXXXXXXX,subdev=0selects the first channel, and settingsubdev=1uses the second channel.On SoapySDRServer it was tested using satnogs-client, specifying the arguments as
driver=remote,remote:driver=lime,serial=XXXXXXXXXXXXX,subdev=<channel>You can see https://network.satnogs.org/observations/11590367/ and https://network.satnogs.org/observations/11590376/ for two satellite observations made using channel 0 (VHF) and channel 1 (UHF) (check the metadata tab)