-
Notifications
You must be signed in to change notification settings - Fork 90
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
fix parameter value check for airspy_set_linearity and airspy_set_sen… #53
Conversation
Are you aware of this? This is not an RTL dongle. The IF bandwidth is already matched to the sample rate in the firmware. |
hum sorry, I did not to ask for merge about this set_bandwidth soon. I just wanted to commit it on my fork .... my bad, To answer your question , hopefully you set the If bandwidth according to the sample rate, but there are cases where man want narrower bandwidth than half the sample rate. Particularly as the airspy don't allow to much choice about sample rate. In fact, my set_bandwidth code is just a direct port of airspy linrad set bandwidth code. I wanted to measure and improve it before asking for merging ... |
Linrad's R820T IF code is itself based on our firmware code. |
But add the possibility to change bandwidth down to 0.5Mhz |
So can SDR#, SDR-Console, etc. There's a good reasons why airspy_r820t_write() exists. |
As I said, the intent was not to ask for merging this commit . I know that the filter is not symmetric.I will not call set_bandwidth a half-assed API but I agree that it needs to do the job as expected which need more works. |
OK. No problem. In general we call APIs that do half the job "half assed APIs", or more politically correct, "bad abstractions". If you find a more elegant solution that satisfies the semantics of IF filtering, you are more than welcome to contribute it. |
and what about my first commit that fix an erroneous bound check ? |
Ben will check and merge. There's still a lot of left-over from HackRF. |
Could you rebase your code and merge with actual master as there is conflict (mainly with new fprintf(stderr ....) see minor stuff #54 |
ok, will redo a better pull request |
fix issue #52