255 Commits

Author SHA1 Message Date
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
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
Dominic Spill
264e825a4d Simplify cmake config for adding tools 2016-12-25 11:03:25 +00:00
Dominic Spill
b528af46c1 Tidy unused operacake code and use addresses to refer to boards 2016-12-25 11:01:55 +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
9d7b55ccb1 Add host functions to set operacake ports 2016-12-22 17:22:04 +00:00
Martin Müller
dccc48ad13 Add CCCamp 2015 rad1o badge board id to libhackrf
The rad1o is the badge of the Chaos Communication Camp 2015 (CCCamp15).

The rad1o badge contains a full-featured SDR (software defined radio)
half-duplex transceiver, operating in a frequency range of about 50 MHz
- 4000 MHz, and is software compatible to the HackRF.

See https://rad1o.badge.events.ccc.de for more information.
2016-10-06 23:34:42 +02: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
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