220 Commits

Author SHA1 Message Date
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
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
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
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
264e825a4d Simplify cmake config for adding tools 2016-12-25 11:03:25 +00:00
Dominic Spill
c54e31f397 Add support for multiple operacake boards connected to one HackRF 2016-12-23 21:59:45 +00:00
Dominic Spill
11ef7f74f6 Tidy clang build warnings
- Remove transceiver enums from hackrf.h
 - convert uint64_ts to int64_ts for frequency maths
2016-09-15 13:50:50 -06:00
Stefan `Sec` Zehl
ad6f9df89a First receive streaming implementation 2016-08-13 21:54:12 +02:00
Radoslav Gerganov
8ba15ad0b1 Make the 'do_exit' flag static
Both libhackrf and hackrf_transfer are using boolean flag named
"do_exit" which is not static. This is problematic because the flag is
used for different things. This patch fixes the problem by making the
flag static in both places.
2016-08-05 16:53:36 +03:00
Josh Blum
cccde1b431 hackrf_transfer - cast with uint32_t
The compiler (MSVC 2013) didnt have the uint typedef,
switched to using uint32_t which is the type of sample_rate_hz.
2016-07-20 17:37:35 -07:00
Michael Ossmann
ab58c3c29c Merge pull request #261 from rgerganov/std-in-out
Add support for transmitting/receiving from stdin/stdout
2016-07-20 15:20:15 -06:00
Dominic Spill
1c34b19fb3 Merge uhwsin PPM correction changes 2016-07-20 22:00:49 +01:00
Mike Davis
c1d1a483aa Added flags + code to open device by index or serial number 2016-06-21 14:15:16 +02:00
Dominic Spill
0e0119394d Fix sign comparison warnings 2016-05-30 18:55:04 -06:00
Radoslav Gerganov
51419b7efc Add support for transmitting/receiving from stdin/stdout
When '-' is used for filename, write samples to stdout when receiving or
read samples from stdin when transmitting. This allows using
hackrf_transfer in shell pipes with tools like csdr.
User info messages are written to stderr.
2016-05-29 13:41:34 +03:00
Dominic Spill
3f4d1a44e7 Apply C89 patch from guruofquality to support older compilers 2016-01-26 08:16:25 +00:00
Dominic Spill
7f41ab4d20 Merge pull request #218 from dominicgs/spiflash_length_default
Default SPI flash read length to size of SPI flash
2016-01-14 18:22:10 +00:00
Dominic Spill
57ee59ceea Add error handling to hackrf_trasfer argument parsing 2016-01-14 17:33:00 +00:00
Dominic Spill
327e08a16c Merge pull request #191 from ckuethe/friendlier_rates
allow user to specify frequencies in scientific notation
2016-01-13 23:01:04 +00:00