282 Commits

Author SHA1 Message Date
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
Dominic Spill
50da1909f1 Remove old separate debug tools 2017-02-07 17:11:45 -07:00
Dominic Spill
1587c95a59 Support max2837, rffc5071, and si5351 2017-02-07 17:11:13 -07:00
Dominic Spill
ebaebf42f8 Initial commit of combined debug tool 2017-02-07 17:11:13 -07:00
Michael Ossmann
ad9ee61e64 fixed bug in bandwidth filter option error checking in hackrf_transfer 2017-02-07 16:19:05 -07:00
Michael Ossmann
a32dedf1a7 fixed bug in bandwidth filter option error checking in hackrf_transfer 2017-02-07 16:18:30 -07:00
Michael Ossmann
4b6de820ef support multiple frequency ranges in hackrf_sweep 2017-02-07 15:37:26 -07:00
Michael Ossmann
5c196eab4d Merge branch 'master' into sweep-csv 2017-02-07 14:11:22 -07:00
Michael Ossmann
baafa0597c Merge pull request #334 from dominicgs/static-analysis
Static analysis
2017-02-07 14:10:36 -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
9916920e11 Merge branch 'master' into sweep-csv 2017-02-06 20:40:15 -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
Dominic Spill
e66c8eec01 Check function return values when reading registers 2017-02-05 22:35:51 -07:00
Dominic Spill
38c67f7e89 Add printable libhackrf and hackrf tools version strings 2017-02-05 21:40:57 -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
Dominic Spill
8902a50245 Remove unused error checking code 2017-02-04 00:08:48 -07:00
Dominic Spill
bcbb7cc2e3 Remove unused test for result in opt parsing 2017-02-04 00:07:30 -07:00
Dominic Spill
35df00bd84 Remove repeated check for fd==NULL 2017-02-04 00:06:23 -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
625fcc8c4a Merge pull request #327 from dominicgs/device_selection_options
Device selection options
2017-02-03 12:09:25 -07:00
Dominic Spill
b8aaee6e72 Correct usage for -d <serial number> 2017-02-03 12:07:07 -07:00
Michael Ossmann
296117f3bb removed unused TX options from hackrf_sweep 2017-02-03 11:58:29 -07:00
Dominic Spill
feeb7a9c95 Add selection by device serial number to rffc5071 and max2837 tools 2017-02-03 10:20:23 -07:00
Dominic Spill
55d7e7f2d2 Standardize device selection options in hackrf-tools
Fixes issue #318
2017-02-03 10:08:41 -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
ec432b9d28 Remove duplicate serial number from hackrf_info 2017-01-30 18:33:44 -07:00
Dominic Spill
255b7b4705 Add USB API versioning 2017-01-30 18:30:17 -07:00
Michael Ossmann
4ca37b8174 Removed "subsequent" from help for register number options which can now be placed before or after the read/write options.
We no longer support chaining operations over multiple registers in a single command.
2017-01-30 09:31:27 -07:00
Michael Ossmann
9fcbb6fa55 Clarified hackrf_si5351c control logic 2017-01-29 21:38:06 -07:00
Michael Ossmann
1eb34ac765 Fixed bug that prevented hackrf_max2837 and hackrf_rffc5071 from displaying help when HackRF is not found. 2017-01-29 21:27:44 -07:00
Michael Ossmann
b97bd4d192 Fixed write bug in hackrf_si5351c. 2017-01-29 21:09:27 -07:00
Michael Ossmann
0b061134b0 Filled in some missing long options for command line tools that use long options. 2017-01-29 18:32:11 -07:00
Michael Ossmann
f494e0b890 Fixed hackrf_transfer mode control logic. 2017-01-29 18:21: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
980abca0b5 Fixed cmake bug that prevented hackrf_sweep from being built. 2017-01-29 17:29:45 -07:00
Dominic Spill
da743b84ef Safely call hackrf_close() after resetting the HackRF 2017-01-27 16:08:57 -07:00