33 Commits

Author SHA1 Message Date
Chris Kuethe
c0c8d619ab Merge branch 'master' of https://github.com/mossmann/hackrf 2015-07-08 11:44:33 -07:00
Dominic Spill
ce9ad343e0 Fix issue #113 - CPLD update fails on Windows
Using the patch from @supersat
2015-07-06 21:25:01 +01:00
Chris Kuethe
94b37453b7 these don't need to be errors any more 2015-05-29 00:32:20 -07:00
Chris Kuethe
2570f35260 vga gain must be a multiple of 2, not 8
allow both args to be checked before bailing out
2015-05-25 17:38:24 -07:00
Chris Kuethe
ea46e4435b explain which gain setting was wrong
because sometimes you don't see your typos at 3am.
2015-05-25 17:31:53 -07:00
Heikki Hannikainen
c0b3638cce Do not break hackrf_open() API, provide a hackrf_open_by_serial() instead for the new functionality. 2015-02-24 07:43:45 +02:00
Jared Boone
9dbe967bf2 Serial number firmware and host-side changes. Very hacky at this point.
Among the TODOs:
* Refactor obtaining LPC serial number and chip ID into separate API and header/source files. Remove from main().
* Create a usb_set_serial_number_descriptor() or similar function to be called before USB stack is started.
* Ensure USB serial number descriptor is valid even if code forgets to initialize the serial number before the USB stack is started. May be as simple as providing default initializer for usb_descriptor_string_serial_number[].
* Create a #define/constant for the usb_descriptor_string_serial_number length.
* Identify what's causing intermittent crashes in hackrf_transfer when no serial number is specified. I'm probably misusing getopt.
* Permit serial number without leading zeros so you don't have to type as much.
* Add support for serial number argument in other hackrf_* tools.
* Provide libhackrf support for enumerating multiple HackRFs, so that hackrf_info can list all devices. May require an additional libhackrf function, outside of hackrf_open().

...and anything else that makes this less of a hack.
2015-02-23 19:23:31 +02:00
Michael Ossmann
109d11558e fixed compiler warning 2014-08-21 22:05:20 -06:00
Michael Ossmann
31c82a879a cleaned up signal source mode 2014-08-11 22:58:11 -06:00
dovecho
7bdc499301 Minor changes to tx_callback
Finalize the error procedure that was accidentally deleted.
2014-07-06 00:34:40 +08:00
dovecho
8e5de3b4a8 Add signal source mode to hackrf_transfer
Now hackrf_transfer can act as an analog signal source to generate a
pure SINE wave at the given frequency.
2014-07-06 00:10:07 +08:00
Michael Ossmann
815d1f640d readability suggestion from the likely less sleep deprived 2014-03-16 10:57:15 -06:00
Michael Ossmann
f61e9d2bd7 write unsigned chars to .wav file instead of signed chars 2014-03-16 10:31:17 -06:00
bvernoux
88becad449 hackrf_transfer:
* Fixed printf() with u64 problems/warnings.
* Fixed Wav header option -w and also tested with file >4GB (on Win8.1).
2014-03-16 14:48:41 +01:00
Michael Ossmann
0fab3157c3 improved hackrf_transfer help for gain options and changed the letter for a couple switches 2014-03-14 10:45:53 -06:00
Michael Ossmann
d4a5c2290b replaced set_freq_if() with set_freq_explicit() and implemented explicit tuning option in hackrf_transfer 2014-03-13 16:06:51 -06:00
Michael Ossmann
7c3f6340ed HackRF One antenna port power control in firmware, libhackrf, and hackrf_transfer 2014-03-12 17:21:49 -06:00
Michael Ossmann
d051c42e3a increased maximum tuning frequency from 6800 MHz to 7250 MHz 2014-03-03 14:07:48 -07:00
Michael Ossmann
fbe4c481f2 reduced minimum tuning frequency from 5 MHz to 0 Hz 2014-03-03 12:21:28 -07:00
Michael Ossmann
ed805dc370 hackrf_transfer usage() update to warn people about -w 2013-06-26 12:48:10 -06:00
Michael Ossmann
474c40b8c2 trying to fix "0.000 MHz" output bug that only affects certain people 2013-06-26 12:43:59 -06:00
Ian Bobbitt
91307c31bd Fixing typo in usage text 2013-06-20 21:37:45 +00:00
Hoernchen
56830da123 tools: x64 fixes for msvc 2013-06-11 13:27:34 +02:00
Hoernchen
05008fbe48 tools: fix more warnings 2013-06-11 12:59:02 +02:00
Michael Ossmann
d55a591175 fix printf format warnings 2013-06-10 08:03:14 -06:00
Hoernchen
fe7558fcf3 lib/fw: rename the sample rate function 2013-06-09 00:09:46 +02:00
Alexander Neumann
d60f382c07 Correct help text for hackrf_transfer
Option for 5 MHz sample-rate was removed, show correct minimal
sample-rate of 8 MHz
2013-06-06 23:27:46 +02:00
Hoernchen
4c39d15a84 tools: add gain control 2013-05-30 13:01:31 +02:00
Michael Ossmann
14257a0032 fix #define false 1 2013-05-28 22:50:54 -06:00
Hoernchen
270043990d tools: msvc signal handling 2013-05-28 19:04:09 +02:00
Hoernchen
a9c301cfd4 windows, pt3 2013-05-27 14:02:15 +02:00
TitanMKD
18932692ab Updated hackrf_transfer(host) and ubs_performance(firmware) extended frequency range from 5MHz to 6800MHz. 2013-05-17 23:41:32 +02:00
TitanMKD
345794fdb9 Moved host/libhackrf/examples to host/hackrf-tools 2013-05-17 01:13:24 +02:00