Commit Graph

10 Commits

Author SHA1 Message Date
Турченко Василий Владимирович 80acb91dbc add "--enable-antenna-power" command line option for HackRF configuration
to be able to feed antenna's connector with +3.3v HackRF's internal DC
voltage.
2021-03-22 00:31:47 +03:00
Oliver Jowett 1761b8ddc1 Fix hackrf compilation when uint64_t is not a long
(e.g. on arm, it's a long long)
2020-08-05 19:50:38 +08:00
Oliver Jowett 74607b31ed Factor out FIFO handling; reimplement as a linked list, not a circular buffer.
Update all the SDR implementation to use it.

This was getting pretty ugly with code getting copy&pasted in all the SDR
implementations. Unify it all and give it a simpler API. Linked list works out
much simpler than the circular buffer. Also, simplify copying the overlap region
around by just using a separate buffer (it's only a few hundred bytes long, so
the double copy is not a big deal).
2020-08-05 19:50:38 +08:00
Oliver Jowett 89a83767f3 hackrf: missing \n 2020-08-05 19:50:38 +08:00
Oliver Jowett 8b21104d66 Factor out sdr thread CPU monitoring 2020-08-05 19:50:38 +08:00
Oliver Jowett 8b6239fab7 Don't call hackrf_exit if hackrf_init failed;
don't call hackrf_close if hackrf_open failed.
2020-08-03 14:45:35 +08:00
Oliver Jowett 699576f3de Add missing \n to hackrf error messages 2020-08-03 14:45:04 +08:00
Oliver Jowett 9b79daadaf Make handle_hackrf_samples static to placate -Wmissing-declarations 2020-08-03 14:40:32 +08:00
Carlos Pizarro 1223f7f29a
[HackRF] Added missing build configs and changed some functions to go along with the rest of the project. 2019-12-14 21:40:43 -03:00
Carlos Pizarro 0f0696c97b
Added support for HackRF One 2019-12-09 18:55:40 -03:00