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
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
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
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
Dominic Spill
9d7b55ccb1
Add host functions to set operacake ports
2016-12-22 17:22:04 +00:00
Mike Davis
c5e0cfef45
Merge remote-tracking branch 'remotes/origin/master'
2016-12-09 23:38:03 +02:00
Martin Müller
dccc48ad13
Add CCCamp 2015 rad1o badge board id to libhackrf
...
The rad1o is the badge of the Chaos Communication Camp 2015 (CCCamp15).
The rad1o badge contains a full-featured SDR (software defined radio)
half-duplex transceiver, operating in a frequency range of about 50 MHz
- 4000 MHz, and is software compatible to the HackRF.
See https://rad1o.badge.events.ccc.de for more information.
2016-10-06 23:34:42 +02:00
Dominic Spill
11ef7f74f6
Tidy clang build warnings
...
- Remove transceiver enums from hackrf.h
- convert uint64_ts to int64_ts for frequency maths
2016-09-15 13:50:50 -06:00
Mike Davis
03155691ae
Merge branch 'mossmann-master'
2016-08-29 06:38:13 +02:00
Radoslav Gerganov
8ba15ad0b1
Make the 'do_exit' flag static
...
Both libhackrf and hackrf_transfer are using boolean flag named
"do_exit" which is not static. This is problematic because the flag is
used for different things. This patch fixes the problem by making the
flag static in both places.
2016-08-05 16:53:36 +03:00
Mike Davis
4b56d88024
Use strndup instead of strdup, to handle situations where the reported length and the actual length are different, or not null terminated
2016-07-29 16:02:56 +02:00
Vinayak Kariappa Chettimada
4f9665fb3b
Fixed missing reset of do_exit, which prevented calls to callback when thread is created once again.
2016-04-03 07:36:48 +02:00
Dominic Spill
3f4d1a44e7
Apply C89 patch from guruofquality to support older compilers
2016-01-26 08:16:25 +00:00
Sebastian Koslowski
e480a28c0a
Comment style fixup to prevent warning in c90 complier mode
2015-10-27 20:16:43 +01:00
Dominic Spill
8cd0cf1b0e
Use rad1o's PID
2015-07-21 17:01:07 +01:00
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
Dominic Spill
9cfa4048e9
Free config descriptor once we have the number of interfaces
2015-06-29 13:41:45 +01:00
Dominic Spill
f3a9e66924
Remove duplicate call to set configuration
...
+ tidy calls to libusb_close()
2015-06-29 13:08:41 +01:00
Dominic Spill
1acd6a6ad6
Fix GitHub issue #163 - Detach the kernel driver automatically
2015-06-26 17:50:27 +01:00
Chris Kuethe
edf8c23cfd
Derp. That's what I get for hacking after bedtime...
2015-05-29 09:25:24 -07:00
Dominic Spill
a1b8535ac0
Merge pull request #158 from hessu/feature/multidev
...
Multiple device support - fixes issue #87
2015-05-29 17:13:03 +01:00