Dominic Spill
936da52169
Third time lucky with definition to remove warning about strdup()
2018-03-26 21:31:56 -06:00
Dominic Spill
e0e02bcd7a
Fix bad define (maybe)
2018-03-26 21:16:23 -06:00
Dominic Spill
c8e8d33a59
Silence warning about strdup() being deprecated
2018-03-26 20:59:55 -06:00
Dominic Spill
bb585e40a4
libhackrf: Fix Windows type warnings
...
MSVC compalins when we mix int and ssize_t
Declaration of hackrf_set_sample_rate_manual differed between .h and .c
2018-03-26 20:35:44 -06:00
Dominic Spill
bac06167f1
Merge branch 'mossmann-master' into multiple_hackrf_stop_rx_issue_463
2018-03-21 16:44:07 -06:00
Dominic Spill
47805d1c3b
Set do_exit flag per device rather than globally
2018-03-21 16:43:22 -06:00
Dominic Spill
65c7b5aa24
Open device counting: increment when opening a device
...
Previously it incremented when the library was initialised, this worked
for GNU Radio flowgraphs, but broke elsewhere
2018-02-27 16:07:04 -07:00
Dominic Spill
d17f091736
libhackrf: stop_tx() put HackRF in to idle mode before killing transfer thread
...
This is what we do for RX and appears to prevent HackRF remaining in TX
mode. This mirrors commit 693c262
2018-02-17 16:20:08 -07:00
Georg von Zengen
73ca8c09dd
libhackrf: counts the open devices, prevents exit if not all closed
...
fixes #435 , osmosdr calls hackrf_exit for the last sink and the last
source. If both are in one flow graph the desctructor of the source
fails as the sink already closed the usb context.
This prevents hackrf_exit to close the context if not all devices are closed
2017-12-07 15:21:29 +01:00
Dominic Spill
5f560d6ad3
Merge branch 'mossmann-master' into flash-investigation
2017-12-05 16:18:19 -07:00
Dominic Spill
3f569a8ad4
hackrf_clock: Allow CLKOUT to be enabled / disabled
...
hackrf_clock -o 1 / hackrf_clock -o 0
2017-11-07 11:23:48 -07:00
Dominic Spill
c416fa1294
SPI Flash: add function to clear SPI flash status register
2017-11-06 10:42:19 -07:00
Dominic Spill
f20763419f
Optional spi flash status read
2017-09-12 18:04:15 -06:00
Dominic Spill
8f544ee60d
Add flash status read
2017-09-12 17:52:07 -06:00
Dominic Spill
44333b7635
Include path for hackrf.h is sometimes ambiguous
...
add both to pkg-config file
https://github.com/pothosware/homebrew-pothos/issues/12
2017-07-07 10:02:03 -06:00
hayati ayguen
e707e448d3
fix/add missing 'LIBUSB_CALL' at libusb callback 'hackrf_libusb_transfer_callback'
...
this allows to remove function cast at prepare_transfers()
missing 'LIBUSB_CALL' produced problems in debugger with Visual Studio 2017
Signed-off-by: hayati ayguen <h_ayguen@web.de>
2017-06-18 23:52:23 +02:00
Dominic Spill
8c7941b0ef
Opera glasses: allow user specified ranges for operacake ports
...
- HackRF switches antenna when tuning
- ports specified using hackrf_operacake cmdline tool
hackrf_operacake -f 2350:2800:0 -f 0:400:1 -f 400:700:2 -f 700:6000:3
2017-05-16 17:18:54 -06:00
Michael Ossmann
79f95abdb3
correct discrepancy between number of samples and number of bytes in blocks of samples
...
related to #346
2017-02-16 12:46:17 -07:00
Dominic Spill
a8c1fc92e9
Appveyor config for building hackrf_sweep ( #344 )
...
Appveyor builds for hackrf_sweep
2017-02-15 16:44:44 -07:00
Dominic Spill
49257e60e3
Remove Jellybean support from firmware
...
- nobody has a jellybean board
2017-02-14 21:33:52 -07:00
Michael Ossmann
e6351d7d69
fixed bug that prevented use of num_samples argument to hackrf_init_sweep()
2017-02-10 22:39:25 -07:00
Michael Ossmann
53d0b8b73e
set release string in libhackrf and hackrf-tools even if they are built separately
2017-02-08 15:44:21 -07:00
Michael Ossmann
5c196eab4d
Merge branch 'master' into sweep-csv
2017-02-07 14:11:22 -07:00
Michael Ossmann
baafa0597c
Merge pull request #334 from dominicgs/static-analysis
...
Static analysis
2017-02-07 14:10:36 -07:00
Michael Ossmann
e1b1dbd647
Moved sweep mode frequency computation into firmware.
...
Changed from long list of tuning frequencies to short list of ranges.
2017-02-07 13:57:49 -07:00
Dominic Spill
38c67f7e89
Add printable libhackrf and hackrf tools version strings
2017-02-05 21:40:57 -07:00
Dominic Spill
c07fb8579c
hackrf_transfer initialisation was using unusual syntax
2017-02-04 00:03:46 -07:00
Dominic Spill
3c468a7a0f
Report libusb error messages where possible for USB errors
2017-02-03 12:05:10 -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
255b7b4705
Add USB API versioning
2017-01-30 18:30:17 -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
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
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
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
Michael Ossmann
1e9df0ff79
Merge pull request #246 from vkchettimada/master
...
Fixed missing reset of do_exit, which prevented calls to callback whe…
2017-01-23 16:23:42 -07:00
Mike Davis
ddb19a86fe
Add vendor request for enabling/disabling gpio-based sync
2017-01-22 22:28:11 +02:00
Dominic Spill
1464454835
Change dwell_time to num_samples
2016-12-27 21:08:12 +00:00
Dominic Spill
a95d1ac027
Add dwell time argument to hackrf sweep
...
- untested because I'm not able to fire up my HackRF right now
2016-12-27 21:08:12 +00:00
Mike Walters
f7cd712ff9
Fix up frequency list size
2016-12-27 21:08:12 +00:00
Dominic Spill
c127cdc0a4
Frequency list PoC
2016-12-27 21:08:12 +00:00
Dominic Spill
dc0b5a5798
Fix missed scan -> sweep changes
2016-12-27 21:08:12 +00:00
Dominic Spill
8c96d9cf32
Change granularity of scan mode to MHz
2016-12-27 21:08:12 +00:00
Mike Walters
97c317e9a4
Add init_scan call to libhackrf
2016-12-27 21:08:12 +00:00
Dominic Spill
b528af46c1
Tidy unused operacake code and use addresses to refer to boards
2016-12-25 11:01:55 +00:00
Dominic Spill
c54e31f397
Add support for multiple operacake boards connected to one HackRF
2016-12-23 21:59:45 +00:00