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

Add rtlsdr selection option #28

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

murrayma
Copy link

The RTLSDR device index isn't reliable for configurations with multiple RTL SDR's. RTL-SDR's can be programmed with a user supplied serial number. This patch allows configuring the RTLSDR by device serial number matching instead of device index. This should solve #22 as well.

@dseven
Copy link

dseven commented Dec 27, 2023

Thanks for doing this. It saves me some effort 👍

It might be nice if it could log something to the effect of 'unable to find device with serial matching "XXX"' - as it is, it ends up just logging "Unable to open device", which is a bit misleading. For bonus points, it could log all (non-matching) devices found in that case too.

P.S. I should note that I'm just another user, with the same need (to be able to specify a device by serial)

@murrayma
Copy link
Author

murrayma commented Jan 8, 2024

Thanks for doing this. It saves me some effort 👍

It might be nice if it could log something to the effect of 'unable to find device with serial matching "XXX"' - as it is, it ends up just logging "Unable to open device", which is a bit misleading. For bonus points, it could log all (non-matching) devices found in that case too.

P.S. I should note that I'm just another user, with the same need (to be able to specify a device by serial)

Good idea! Thank you.

multifm/rtl_sdr_if.c Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants