Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
hackrf_sweep output missing bins on high system load #362
The number of frequency bins output by hackrf_sweep reduces when the system is under high load. Most likely, frequency bins are just dropped in this case. This showed to be a problem in qspectrumanalyzer, because here a data structure of fixed size is allocated after the first sweep and the output of hackrf_sweep was expected to be of same size for subsequent sweeps: xmikos/qspectrumanalyzer#26
For qspectrumanalyzer, there is now a workaround in place which drops an entire sweep if the number of bins is not equal to that from the first sweep but this still fails when bins are dropped during the very first sweep.
Is there anything which can be done regarding this issue on the side of hackrf_sweep? Or is there a simple way to determine the number of bins that should come from hackrf_sweep, given a set of parameters?
A reminder to myself, from the discussion in #hackrf