2422 Commits

Author SHA1 Message Date
Michael Ossmann
fb48e629c1 HackRF One: update VBUS sense resistor values 2021-09-27 11:56:03 -06:00
Taylor Streetman
cab7129d68 HackRF One: Change all references from r6 to r8 2021-09-27 11:32:06 -06:00
Straithe
2fd10c1554 Update HackRF readme (#962)
* Updated HackRF readme
2021-09-22 18:50:10 -04:00
Straithe
76ae1f6d56 Merge pull request #954 from straithe/removeDeadLinks
update mentions page
2021-09-22 18:14:25 -04:00
straithe
92e3f48cec Add Ubuntu instructions 2021-09-22 01:29:40 -04:00
straithe
ce49451e80 Update installing hackrf software documentation 2021-09-22 01:23:09 -04:00
straithe
fcd6e658cf Update mentions 2021-09-21 09:52:04 -04:00
straithe
36f4a94a1e update mentions page 2021-09-15 17:08:38 -04:00
Michael Ossmann
1408473b38 Merge pull request #953 from straithe/capitalizeHeading
Update capitalization
2021-09-13 15:46:56 -06:00
Michael Ossmann
8b6fa216e7 Merge pull request #952 from straithe/UpdateHackRFHacksTitle
update HackRF hacks page
2021-09-13 15:46:42 -06:00
straithe
5def0bcc89 Update capitalization 2021-09-13 14:52:07 -04:00
straithe
5e205c9db3 update HackRF hacks page 2021-09-13 14:34:04 -04:00
Michael Ossmann
763f9a0b40 Merge pull request #944 from mossmann/updateindex
Update docs index
2021-09-10 13:11:04 -06:00
Michael Ossmann
fe6ca36eda Merge pull request #941 from mossmann/removedocfolder
Remove doc folder
2021-09-10 13:07:03 -06:00
straithe
27723c804c Update docs index 2021-09-02 15:38:19 -04:00
straithe
bffa5585ed Remove doc folder 2021-08-30 18:19:19 -04:00
Michael Ossmann
704725217d Merge pull request #917 from miek/operacake-addresses
Switch to using 0-7 for Opera Cake addresses
2021-07-15 14:30:04 -06:00
Straithe
2f084cd9d8 Update README with response times and documentation information (#913)
* Update README with response times and documentation information

* Update Readme

* update readme
2021-07-15 14:06:49 -06:00
Straithe
d4457469b3 updatepicturenames (#911)
* update picture names
2021-07-15 14:02:47 -06:00
Mike Walters
6aa64a80d5 hackrf_operacake: clarify output of list command
Now that addresses are in the range 0-7, this would previously output
"Operacakes found: 0" for the default board address. This is confusing
as it looks like it found no Opera Cakes.
2021-07-14 18:35:31 +01:00
Mike Walters
5e2e06b620 hackrf_info: display Opera Cake addresses in decimal
Fixes #899
2021-07-14 18:35:31 +01:00
Mike Walters
0293cf23db Opera Cake: use 0-7 instead of I2C addresses & bump USB API version 2021-07-14 18:35:31 +01:00
Straithe
21c99a36a6 Update HackRF docs links (#907)
* Update HackRF docs links

* Update new docs links

* Remove erroneous backticks

* update links
2021-07-06 22:45:19 -06:00
Straithe
a2d50ffb4c Initial docs commit (#903)
* Update of existing docs to Sphinx

* Update ToC
2021-07-02 11:52:22 -06:00
Clifford Heath
a9945ffaa3 Report amplitude once per second during receive (#890)
* Report amplitude once per second during receive

* Added missing M_LN10 for Windoze, fixed short frame detection for RSSI

* Tweaks to math expressions

* Tweaks to math expressions
2021-06-13 11:59:26 -06:00
Michael Ossmann
34b614f933 Merge pull request #879 from miek/actions
Add Github Actions CI build
2021-06-13 11:55:59 -06:00
Michael Ossmann
10b7d67ea5 Merge pull request #874 from metayan/sweeprate
hackrf_sweep: Calculate and show sweep rate for subsecond sweeps
2021-04-23 17:35:31 -06:00
Michael Ossmann
03fe87dbb4 Merge pull request #872 from dmaltsiniotis/stdoutnewlineconversionfix
Adding call to _setmode for Windows only to specify binary stdout output piping.
2021-04-23 17:32:48 -06:00
Mike Walters
67aa90e827 Build with Github Actions 2021-04-19 14:17:16 +01:00
Yan
7c14f876a0 hackrf_sweep: initialise sweep_rate
Thanks to dmaltsiniotis for spotting this.
2021-04-10 13:47:33 +02:00
Yan
90acbcff07 hackrf_sweep: Calculate and show sweep rate for subsecond sweeps 2021-04-08 22:46:42 +02:00
Demetri Maltsiniotis
e664321cc6 Adding call to _setmode for Windows only to specify binary stdout output piping. 2021-04-07 15:11:44 -05:00
Michael Ossmann
5f1536cc36 Merge pull request #856 from metayan/faster-sweep-end
Faster and cleaner exit from hackrf_sweep
2021-03-30 11:11:47 -06:00
Yan
ab4498f8ac hackrf_sweep: exit early from rx_callback if do_exit set
Sometimes, if a small frequency interval is scanned, the callback is
triggered even though we already have the number of sweeps we want, and
sweep_count gets increased, showing the wrong "Total sweeps".
2021-03-20 10:07:51 +01:00
Yan
4c46fc74b3 hackrf_sweep: speed up ending by removing unnecessary code
hackrf_stop_rx() is handled in hackrf_close(), so there seems to be no need
to call it separately.  Furthermore, if hackrf_stop() is called separately,
it causes hackrf_close() to take more than half a second longer.
2021-03-19 16:31:37 +01:00
Yan
2ef7995763 hackrf_sweep: flush output earlier
Gives listener access to complete data faster.
Otherwise the data might be delayed until the whole closing procedure is done.
2021-03-19 16:29:21 +01:00
Michael Ossmann
e6eb4ba29b Merge pull request #848 from mossmann/pre-release
Pre release
2021-03-18 14:36:50 -06:00
Michael Ossmann
15b2d3a6ac Merge pull request #853 from miek/sweep_loop_timings
hackrf_sweep: switch main loop timing back to 1Hz
2021-03-18 14:36:39 -06:00
Mike Walters
5361b3a7f4 hackrf_sweep: switch main loop timing back to 1Hz
fixes #850
fixes #851
2021-03-18 19:48:53 +00:00
Michael Ossmann
a69bb0a5ac remove doc/hardware directory
Going forward, fabrication outputs will be included in release packages
but not in the git repository.
2021-03-17 22:03:07 -06:00
Michael Ossmann
becc016c35 update README files for CPLD SRAM loading 2021-03-17 21:57:35 -06:00
Michael Ossmann
2a8ed4ec59 increment .so/.pc version number to 0.6 2021-03-17 21:44:34 -06:00
Michael Ossmann
b112d18bd5 Merge pull request #847 from miek/sweepfix
Disable USB interrupts during sweep set_freq call
2021-03-17 16:20:32 -06:00
Mike Walters
1cb2abf747 Disable USB interrupts during sweep set_freq call
Previously, a USB vendor request could interrupt in the middle of
set_freq and make conflicting changes, leaving the HackRF in an
undefined state.

fixes #772
2021-03-17 13:03:06 +00:00
Michael Ossmann
f2021608a6 Merge pull request #820 from mossmann/tools
Clean up output file handling
2021-01-28 14:30:53 -07:00
Michael Ossmann
2ca991e1df Flush output streams. Do not fclose stdout/stdin. 2021-01-27 12:12:45 -07:00
Michael Ossmann
a6fa7876cb Give descriptive names to streams.
They were previously given the confusing name of fd even though they are
not file descriptors.
2021-01-27 11:59:29 -07:00
Michael Ossmann
8fead43cf2 Merge pull request #748 from ggatis/patch-1
Update hackrf_sweep.c
2021-01-27 11:38:45 -07:00
Michael Ossmann
ee44d2d62e Merge pull request #805 from erikarn/ahc_20201108_fix_libusb_cancel
Fix libusb usage for at least freebsd around the worker thread and transfer cancellation
2021-01-23 17:34:32 -07:00
adrian chadd
61a06b904d Handle hackrf_close() being called without TX or RX being started.
My previous commits didn't handle the specific case of hackrf_close()
being called without the transfers being active.

In this instance the transfers haven't been setup, so calling
cancel_transfers() returned an error.

Instead:

* refactor out the tx/rx stop command from canceling transfers
* send the tx/rx stop command without canceling transfers, since ..
* ... we can then destroy the transfer thread.

I may also need to put an explicit cancel_transfers() before the
call to send the tx/rx stop commands; I'll look at doing that
in a subsequent commit.
2020-12-10 15:57:54 -08:00