468 Commits

Author SHA1 Message Date
Michael Ossmann
f388a3f9d9 For anti-aliasing, the baseband filter bandwidth is automatically set to the
widest available setting that is no more than 75% of the sample rate.  This
happens every time the sample rate is set.  If you want to override the
baseband filter selection, you must do so after setting the sample rate.
2017-01-26 18:58:31 -07:00
Dominic Spill
439ddaaa40 Support compiling with Visual Studio 2017-01-26 17:00:41 -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
ba4ffbb1e4 hackrf_transfer: made -n option compatible with -R (repeat TX mode).
-n limits the total number of samples transferred via USB.
This fixes issue #192.
2017-01-25 15:35:12 -07:00
schneider42
d329dac414 Merge branch 'master' into streaming 2017-01-25 11:30:29 +01: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
Michael Ossmann
3474ad50c0 Merge branch 'multi-device-hardware-sync' of https://github.com/dodgymike/hackrf into dodgymike-multi-device-hardware-sync 2017-01-24 16:18:33 -07:00
Michael Ossmann
8b51f21c37 Added fftw dependency to README for host build on Linux. It should be added for Windows too, but I am not qualified to do so properly. 2017-01-23 22:11:35 -07:00
Michael Ossmann
d0e1202e1f Merge pull request #299 from dominicgs/operacake
Operacake support
2017-01-23 21:24:28 -07:00
Dominic Spill
66f2c0fa1c Check for FFTW3 before building as it is required for hackrf_sweep 2017-01-23 18:10:49 -07:00
Dominic Spill
b7edf86afd Remove duplicate hackrf_sweep definition 2017-01-23 17:52:27 -07:00
Dominic Spill
60f64928d3 Merge branch 'master' into operacake 2017-01-23 17:50:09 -07:00
Michael Ossmann
d98ad576b2 fixed CMakeLists.txt conflict 2017-01-23 17:38:31 -07:00
Michael Ossmann
7e7ce3dff1 removed pre-libhackrf python host code 2017-01-23 16:31:32 -07:00
Michael Ossmann
1e9df0ff79 Merge pull request #246 from vkchettimada/master
Fixed missing reset of do_exit, which prevented calls to callback whe…
2017-01-23 16:23:42 -07:00
Dominic Spill
18f014e11f Remove duplicate hackrf_operacake definition 2017-01-23 16:11:47 -07:00
Dominic Spill
7b18c308fe Merge branch 'master' into operacake 2017-01-23 16:07:43 -07:00
Dominic Spill
8e4850d36e Add HackRF tool to change operacake ports 2017-01-23 15:52:38 -07:00
Mike Davis
ddb19a86fe Add vendor request for enabling/disabling gpio-based sync 2017-01-22 22:28:11 +02:00
Mike Davis
738781c17c Merge branch 'master' of https://github.com/mossmann/hackrf into multi-device-hardware-sync 2017-01-19 21:14:28 +02: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
Mike Walters
f7cd712ff9 Fix up frequency list size 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
Mike Walters
c96156476f Switch all output from stdout to stderr to allow for piping samples 2016-12-27 21:08:12 +00:00
Dominic Spill
0245204ad9 Add initial hackrf_scan skeleton 2016-12-27 21:08:12 +00:00
Dominic Spill
8c96d9cf32 Change granularity of scan mode to MHz 2016-12-27 21:08:12 +00:00
Mike Walters
97c317e9a4 Add init_scan call to libhackrf 2016-12-27 21:08:12 +00:00