443 Commits

Author SHA1 Message Date
Heikki Hannikainen
33e20bda0c hackrf_cpldjtag: added -d for device serial number 2015-02-24 01:13:36 +02:00
Heikki Hannikainen
6aa5f00186 hackrf_spiflash: added -d for device serial number 2015-02-24 01:13:31 +02:00
Heikki Hannikainen
b14d77a173 Adjust debug printf's a bit 2015-02-24 01:13:24 +02:00
Heikki Hannikainen
8e21b9882f Permit serial number without leading zeros so you don't have to type as much. In fact, permit any suffix of the serial number. 2015-02-24 01:13:18 +02:00
Heikki Hannikainen
c9f8bb2a05 libhackrf: refactor serial number searching to hackrf_open_usb() 2015-02-24 01:13:13 +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
6935ad625f Merge pull request #140 from cottsay/lib-suffix-fix
fix lib suffixes in pkgconfig
2014-11-04 23:37:38 -07:00
Michael Ossmann
ecab042a3f Merge pull request #141 from cottsay/udev-install-dir
add CMake value to change udev rule destination
2014-11-04 23:37:03 -07:00
Scott K Logan
ea47fd4fbf add CMake value to change udev rule destination 2014-09-21 12:26:08 -05:00
Scott K Logan
c7116b4081 fixed lib suffixes in pkgconfig 2014-09-21 12:22:57 -05:00
xyb
2edd8faac3 try to find Jawbreaker and HackRF One 2014-09-06 23:00:22 +08:00
Michael Ossmann
21ecd70099 incremented udev rule file number to avoid conflicts 2014-08-28 09:29:03 -06:00
Michael Ossmann
109d11558e fixed compiler warning 2014-08-21 22:05:20 -06:00
Michael Ossmann
a3dbde7a81 moved udev rules from hackrf-tools to libhackrf 2014-08-21 22:01:26 -06:00
Postmodern
2ee29a9e71 Fixed setting of partid in hackrf_board_partid_serialno_read
partid[1] was never being set, so partid[0] would incorrectly be set to partid[1].
2014-08-20 15:29:16 -07:00
Michael Ossmann
741941f838 s/Jawbreaker/HackRF/ 2014-08-15 12:31:25 -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
Benjamin Vernoux
860ffda639 Update README.md 2014-03-16 13:18:48 +01:00
Benjamin Vernoux
7443cd1d5b Update README.md 2014-03-16 13:17:21 +01:00
Benjamin Vernoux
19110e6e06 Update README.md 2014-03-16 13:16:40 +01:00
Benjamin Vernoux
9191afe2e1 Create Readme for Host 2014-03-16 13:15:04 +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
716d140dfb libhackrf support for HackRF One USB ID and board ID 2014-03-12 16:29:07 -06:00
Michael Ossmann
028e9d6204 updated udev rules for HackRF One and NXP DFU 2014-03-11 16:27:05 -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
9afa1fe984 bumped .so and .pc version numbers to 0.3 2014-02-20 15:24:04 -07:00
Ben Gamari
b3f6134fc1 hackrf_cpldjtag: Update for new hackrf_cpld_write interface 2013-09-14 18:24:26 -04:00
Ben Gamari
d21d616576 libhackrf: Rework hackrf_cpld_write to use new firmware interface
We now use a separate USB configuration for CPLD updates. To avoid
misuse of the interface, hackrf_cpld_write is now a one-shot call,
expecting the entire CPLD buffer. The library will then take care that
the device is placed in the CPLD update configuration and the entire
buffer uploaded. Unfortunately, this means that users of the interface
will have substantially fewer opportunities to provide status updates to
the user.
2013-09-14 18:24:26 -04:00
Ben Gamari
693c262134 libhackrf: Stop streaming before killing transfer thread 2013-09-14 18:24:25 -04:00
Michael Ossmann
b056efcaf8 .so and .pc version update 2013-07-26 18:30:46 -06:00
ZeroChaos
250d6d43ff fix permissions on udev rules
when setting a group on a device typically you only set write for root and the group not for world.  should be 660 not 666, 666 is the devil.
2013-06-27 00:30:47 -04: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
Michael Ossmann
631849763b Merge pull request #81 from ibobbitt/master
Typo in hackrf_transfer usage text
2013-06-26 11:33:07 -07:00
Ian Bobbitt
7fd44fddfd Include udev rule if -DINSTALL_UDEV_RULES=ON is set (copied from rtl-sdr) 2013-06-21 12:15:03 -04:00
Ian Bobbitt
91307c31bd Fixing typo in usage text 2013-06-20 21:37:45 +00:00
Hoernchen
b33f534da0 firmware, lib: update comments, doc 2013-06-17 12:32:12 +02:00
Hoernchen
3c7bc948f1 lib: if freq 2013-06-16 20:24:07 +02:00
Hoernchen
51e33cb1da tools: tell msvc to disable deprecation warnings 2013-06-11 13:39:26 +02: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
Hoernchen
ecdaf40fb7 lib: un-break msvc 2013-06-11 12:55:10 +02:00