35 Commits

Author SHA1 Message Date
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
Mike Walters
c73a1d56a7 Calculate log power 2016-12-27 21:08:12 +00:00
Dominic Spill
6db1849b74 Add some fftw magic to proceedings 2016-12-27 21:08:12 +00:00
Dominic Spill
dc0b5a5798 Fix missed scan -> sweep changes 2016-12-27 21:08:12 +00:00
Dominic Spill
86bde9f4c2 Remove unused helper functions from hackrf_sweep 2016-12-27 21:08:12 +00:00
Dominic Spill
57e0924e0d Rename scan to sweep 2016-12-27 21:08:12 +00:00