355 Commits

Author SHA1 Message Date
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
Dominic Spill
c07fb8579c hackrf_transfer initialisation was using unusual syntax 2017-02-04 00:03:46 -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
15a2c61568 Merge pull request #330 from dominicgs/libusb_error_messages
Report libusb error messages where possible for USB errors
2017-02-03 12:26:19 -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
Dominic Spill
3c468a7a0f Report libusb error messages where possible for USB errors 2017-02-03 12:05:10 -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
50776acdb8 Merge pull request #325 from dominicgs/device_selection_options
Code clean up
2017-02-01 16:32:22 -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
a2857f7383 iReplace malloc that we never free with a statically assigned buffer 2017-02-01 16:01:28 -07:00
Dominic Spill
6912df23cc Shhh, silence in the library 2017-02-01 14:23:47 -07:00
Dominic Spill
3c2a32981b Replace error messages with more readable strings 2017-01-31 17:35:56 -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
Dominic Spill
9e78ccb4e7 Correct argument parsing logic 2017-01-27 16:06:01 -07:00
Dominic Spill
b047dd0cb4 Add software controlled reset 2017-01-27 15:03:53 -07:00
Dominic Spill
8efc85d39e Remove out of date readme files.
Up to date information can be found in host/README.md
2017-01-27 12:02:25 -07:00
Dominic Spill
bb24dd5efe Update readme.md to reflect current build instructions
* udev rule
 * Visual Studio instructions
 * General clean up
2017-01-27 11:52:29 -07:00
Michael Ossmann
560b390f6c use preferred hackrf_sample_rate_set() instead of older function in hackrf_transfer 2017-01-26 19:03:39 -07:00
Michael Ossmann
b3246972ed use new libhackrf automatic baseband filter selection in hackrf_transfer 2017-01-26 18:58:31 -07:00
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