Michael Ossmann
378b65a598
added cast to fix tv_usec formatting on various platforms
2017-02-17 00:28:32 -07:00
Michael Ossmann
fd579445df
improved accuracy of hackrf_sweep timestamps
2017-02-16 23:22:07 -07:00
Michael Ossmann
bc49bdc344
update timestamp once per sweep
2017-02-16 17:34:38 -07:00
Michael Ossmann
d794ac0e20
output timestamps in microseconds
2017-02-16 14:47:53 -07:00
Michael Ossmann
79f95abdb3
correct discrepancy between number of samples and number of bytes in blocks of samples
...
related to #346
2017-02-16 12:46:17 -07:00
Michael Ossmann
6aacfa2cc9
corrected maximum permitted number of FFT bins
...
Fixes #346
2017-02-16 12:06:52 -07:00
Michael Ossmann
d7a799d6f2
report actual bin width with indicated precision instead of to the nearest Hz
2017-02-15 16:36:25 -07:00
Michael Ossmann
7cd8e5f7eb
hackrf_sweep output file support
2017-02-15 16:20:35 -07:00
Michael Ossmann
ae367880bf
_USE_MATH_DEFINES only on Windows
2017-02-15 15:03:54 -07:00
mrbubble62
e4106f5aca
Cleaned up
2017-02-15 01:01:09 -05:00
mrbubble62
63435f5616
hackrf_sweep on Windows
...
added precompiled fftw-3.3.5
2017-02-14 01:43:14 -05:00
Michael Ossmann
c57066ebf8
hackrf_sweep: removed bin width from binary output because a more precise result can be computed from the number of bins in a record
2017-02-10 16:37:52 -07:00
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