Skip to content

Conversation

ryansuchocki
Copy link

I've extended the implementation of getFrequencyRange() to be aware of direct sampling mode.

This uses librtlsdr's rtlsdr_get_xtal_freq(). The librtlsdr header indicates that, in direct sampling mode, the tune-able range is from zero to the xtal frequency.

This seems to be necessary in order to get GQRX to let me tune below 28MHz when using SoapyRTLSDR over SoapyRemote.

@zuckschwerdt
Copy link
Member

Thanks. LGTM!
Haven't thought about it before, but I guess we should not expect a fixed return from getFrequencyRange().
For reference, BladeRF does something like this too:
https://github.com/pothosware/SoapyBladeRF/blob/85f6dc554ed4c618304d99395b19c4e1523675b0/bladeRF_Settings.cpp#L532-L545

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.

2 participants