Michael Ossmann
55e3a2087d
hackrf_sweep: fftwf_free
2017-02-09 23:52:07 -07:00
Michael Ossmann
06e24e876f
added fields to hackrf_sweep binary output
2017-02-09 18:12:29 -07:00
Michael Ossmann
e7647f62f3
fixed bug in frequency reported to binary output of hackrf_sweep
2017-02-08 17:24:05 -07:00
Michael Ossmann
03d93c1369
added one shot mode to hackrf_sweep
2017-02-08 10:46:08 -07:00
Michael Ossmann
c9c70f7adb
hackrf_sweep: don't skip more input than necessary when waiting for valid data
2017-02-08 00:42:13 -07:00
Michael Ossmann
5e6e70659b
hackrf_sweep: suppress processing and output until the first expected frequency is seen
2017-02-08 00:37:42 -07:00
Michael Ossmann
5ab315a73a
code cleanup
2017-02-07 21:11:50 -07:00
Michael Ossmann
c68aedef31
added output description to hackrf_sweep help
2017-02-07 20:25:21 -07:00
Michael Ossmann
05759ce1c8
fft bin selection in hackrf_sweep binary output, similar to text output
2017-02-07 18:02:52 -07:00
Michael Ossmann
813f540e94
fixed FFT bin reordering bug in hackrf_sweep
2017-02-07 17:48:24 -07:00
Michael Ossmann
0c45d65dc3
allow selection of FFT bin width in hackrf_sweep
2017-02-07 17:12:16 -07:00
Michael Ossmann
4b6de820ef
support multiple frequency ranges in hackrf_sweep
2017-02-07 15:37:26 -07:00
Michael Ossmann
e1b1dbd647
Moved sweep mode frequency computation into firmware.
...
Changed from long list of tuning frequencies to short list of ranges.
2017-02-07 13:57:49 -07:00
Michael Ossmann
d3b30eca59
default frequency range and error checking of frequency range in hackrf_sweep
2017-02-06 20:39:14 -07:00
Michael Ossmann
3ad5113201
Select only the best sections of the FFT output.
...
Skip the lowest 1/8 of the band, the middle 1/4 of the band, and the highest 1/8 of the band.
This provides full coverage of the selected frequency range because the hopping pattern was designed with this in mind.
2017-02-04 10:43:33 -07:00
Michael Ossmann
93201702d6
too few Hz
2017-02-04 10:30:33 -07:00
Michael Ossmann
8ec1fb3274
too many Hz
2017-02-04 10:09:26 -07:00
Michael Ossmann
3b1a21519b
consolidated a little code in hackrf_sweep
2017-02-04 10:07:17 -07:00
Michael Ossmann
74aea3266e
Made hackrf_sweep output more like rtl_power's.
2017-02-04 09:58:04 -07:00
Michael Ossmann
586082e3e5
fixed off-by-one error in hackrf_sweep again
2017-02-03 17:48:16 -07:00
Michael Ossmann
bb350dccc0
fixed off-by-one error in hackrf_sweep
2017-02-03 17:44:10 -07:00
Michael Ossmann
a51f06350e
print actual values for all fields in hackrf_sweep csv output
2017-02-03 17:08:11 -07:00
Michael Ossmann
8ee7052660
Added csv text output to hackrf_sweep.
...
Added -B option for binary output.
Text output is now the default.
Removed binary dump of raw samples between FFTs.
2017-02-03 16:38:06 -07:00
Michael Ossmann
296117f3bb
removed unused TX options from hackrf_sweep
2017-02-03 11:58:29 -07:00
Michael Ossmann
e7d459b30f
Changed "User cancel" message to "Exiting" because it can happen in situations other than a user action.
...
Fixes #319 investigate "User cancel error"
2017-02-01 21:00:35 -07:00
Michael Ossmann
0eb85c529c
Fixed firmware dwell time bug in sweep mode. Two buffers of sample data are now thrown away at the start of each step in order to allow time for tuning.
...
Fixes #317 .
2017-02-01 16:21:04 -07:00
Dominic Spill
255b7b4705
Add USB API versioning
2017-01-30 18:30:17 -07:00
Michael Ossmann
9211b70770
Added -h/-? option for help to all command line tools.
2017-01-29 17:37:29 -07:00
Michael Ossmann
95c9ac6ffa
Support files larger than 2147483647 bytes on 32-bit platforms.
...
Fixes issue #152 .
2017-01-25 16:32:20 -07:00
Michael Ossmann
2ebb8a4c53
Avoided osx build problem by using literal string instead of format string.
...
Fixed minor bug in warning text.
2017-01-24 19:45:19 -07:00
Dominic Spill
6639ab3e09
Fix argument parsing for num_samples
2016-12-27 21:08:12 +00:00
Dominic Spill
1464454835
Change dwell_time to num_samples
2016-12-27 21:08:12 +00:00
Dominic Spill
a95d1ac027
Add dwell time argument to hackrf sweep
...
- untested because I'm not able to fire up my HackRF right now
2016-12-27 21:08:12 +00:00
Dominic Spill
6463479888
Extend frequency array to allow 6GHz sweeping
2016-12-27 21:08:12 +00:00
Dominic Spill
c127cdc0a4
Frequency list PoC
2016-12-27 21:08:12 +00:00
Mike Walters
02eda1fd92
Take samples from the end of the buffer
2016-12-27 21:08:12 +00:00
Mike Walters
39c15c93a9
Increase default gains
2016-12-27 21:08:12 +00:00
Mike Walters
a5a1c8ce70
Apply window
2016-12-27 21:08:12 +00:00
Mike Walters
d09e83e423
Revert "DC offset hacks"
...
This reverts commit 96f680016f81b480bb2a66ec937be29185b26224.
2016-12-27 21:08:12 +00:00
Mike Walters
7935fc973f
Add -f argument for sweep freq range
2016-12-27 21:08:12 +00:00
Mike Walters
df6a7986cf
DC offset hacks
2016-12-27 21:08:12 +00:00
Mike Walters
62d06659f8
FFT size tweak again
2016-12-27 21:08:12 +00:00
Mike Walters
3dc6742be2
Fix messed up buffer skip
2016-12-27 21:08:12 +00:00
Mike Walters
316d7be6c2
Write power values to stdout
2016-12-27 21:08:12 +00:00
Mike Walters
d9b26c5ffa
Smaller FFT size
2016-12-27 21:08:12 +00:00
Mike Walters
cf64ccc058
Fix up datatypes
2016-12-27 21:08:12 +00:00
Mike Walters
1bd4c9a846
Rearrange fftw output
2016-12-27 21:08:12 +00:00
Mike Walters
27b8f674da
Fix input copy loop
2016-12-27 21:08:12 +00:00
Mike Walters
a15bff3acf
Scale input samples
2016-12-27 21:08:12 +00:00
Mike Walters
cb53e60a0d
Don't increment power
2016-12-27 21:08:12 +00:00