Commit Graph

534 Commits

Author SHA1 Message Date
Alexandru Csete 7cec4c0f51 rfspace: Add basic Cloud-IQ support.
Cloud-IQ uses essentially the NetSDR protocol with different sample
rates and product ID.
2015-12-10 20:54:26 +01:00
Dimitri Stolnikov 2ca720cfee hackrf: change hackrf i/o from default char to explicit int8_t
original patch provided via github by Dirk Grunwald
2015-12-07 20:37:32 +01:00
Dimitri Stolnikov 69ec75a0b4 hackrf: since devicecount is signed, make comparisons signed as well 2015-12-07 20:27:02 +01:00
Dimitri Stolnikov 3198eb927a Merge remote-tracking branch 'origin/soapy_support' 2015-12-07 20:19:36 +01:00
Josh Blum c804460f5d provide NAN define for MSVC older than VC12
This fixes a minor compile issue on VC11 and below
where source_impl.cc and sink_impl.cc use the float NAN define.
The patch simply defines the NAN macro conditionally,
in a common header (which seemed like the best place).
2015-12-06 17:10:25 -08:00
Josh Blum 9ceadfb645 rtl_tcp: fix ssize_t definition for MSVC
This was actually causing a cryptic compile error because of the define.
The fix was to typedef ssize_t as ptrdiff_t, the same as bladerf_common.h
2015-12-06 15:49:44 -08:00
Josh Blum b3d915f591 soapy: do not throw when IQ bal mode is set to off
The automatic IQ balance mode is not supported,
but we should not throw when it is set to disabled.
Setting to disabled is techinically allowable,
and currently throwing is disruptive for users.
2015-12-06 15:19:26 -08:00
Jon Szymaniak 86ad584204 bladeRF: Support opening via a (subset of a) serial number, using any backend
The bladerf=X,[arguments] string now supports the following, where X is:

    - The "device instance" which represents the Nth bladeRF connected.
      This is 0-indexed, in the order displayed by `bladeRF-cli --probe`.

    - The device's serial number.
        For libbladeRF >= 1.4.1, a subset of the serial number is
        supported. The subset must be at least the first three
        characters of the serial number.

The backend specifier has been changed from "libusb" to the wildcard
("*"), allowing any available backend to be used.
2015-07-17 17:09:30 +02:00
Jon Szymaniak 43a00ae785 bladeRF: Added SOB/EOB stream tag handling support to bladerf_sink
When running with metadata mode enabled, the bladerf_sink supports 'tx_sob' and
'tx_eob' stream tags. Anything not in the burst will be dropped, and a warning
will be printed.

Use of the bladeRF metadata can be enabled via a 'enable_metadata'
device argument. If running full-duplex, this must be provided to both
the source and the sink. This does not currently any additional features
to the sink.
2015-07-17 17:09:23 +02:00
Utomnia ac1d8ec02d bug fixes 2015-07-16 19:35:18 +02:00
Dimitri Stolnikov 46e95395e0 cmake: move check for hackrf_device_list to hackrf subdirectory 2015-06-06 22:01:33 +02:00
Dimitri Stolnikov f33f30815a hackrf: use #ifdef just like in hackrf_sink_c 2015-06-01 22:24:32 +02:00
Heikki Hannikainen 2bcd86e55e Pass LIBHACKRF_HAVE_DEVICE_LIST to a #define
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
2015-06-01 22:01:02 +02:00
Heikki Hannikainen dd6690b6ca hackrf: Add cmake magic to figure out if multiple devices support is available in libhackrf, so that backwards compatibility with old libhackrf is maintained.
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
2015-06-01 22:01:02 +02:00
Heikki Hannikainen 254e1b1981 hackrf_source: adjust error message
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
2015-06-01 22:01:02 +02:00
Heikki Hannikainen e847176f3e hackrf_source: Support selecting device with index number (hackrf=0)
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
2015-06-01 22:01:02 +02:00
Heikki Hannikainen dd6536757a hackrf_sink_c: device enumeration
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
2015-06-01 22:01:02 +02:00
Heikki Hannikainen 485b02e615 hackrf device enumeration: Use only 6 characters of serial (should be unique per user?) and append it in device name
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
2015-06-01 22:01:02 +02:00
Heikki Hannikainen 592a814bdb hackrf_source: Truncate serial numbers to 16 chars when enumerating, parse USB board IDs correctly
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
2015-06-01 22:01:01 +02:00
Heikki Hannikainen 8e6ecd0644 hackrf_source: attempt device enumeration with hackrf_device_list
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
2015-06-01 22:01:01 +02:00
Heikki Hannikainen 69181b0e85 hackrf_sink: support hackrf_open_by_serial
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
2015-06-01 22:01:01 +02:00
Heikki Hannikainen 5dca656745 style update to match surroundings
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
2015-06-01 22:01:01 +02:00
Heikki Hannikainen d4387f436d Require hackrf argument to have a non-zero-length value to trigger serial number search
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
2015-06-01 22:01:01 +02:00
Heikki Hannikainen 9595b044b6 hackrf: support for hackrf_open_by_serial in hackrf source
Signed-off-by: Heikki Hannikainen <hessu@hes.iki.fi>
2015-06-01 22:01:01 +02:00
Marcus Müller b3fdf5b83d Fix config error with CMake version 2.8.7
Replace find_package(SoapySDR CONFIG) with find_package(SoapySDR NO_MODULE),
which has an identical effect but is supported by CMake 2.8.7 on Ubuntu 12.10
2015-05-27 23:56:48 +02:00
Dimitri Stolnikov 5943919828 hackrf: introduce bias=0|1 and bias_tx=0|1 parameters
... to support antenna/phantom power via a new device argument "bias"
(to match Airspy's existing bias power syntax). 0=disable and 1=enable.
I also added a device argument to control bias power at transmit time. I
named this option differently - "bias_tx" - to avoid accidentally
enabling bias power in transmit mode when an LNA may be attached in an
input amplifier configuration.

Original patch provided by Brad Hein
2015-05-27 23:55:00 +02:00
Dimitri Stolnikov 44c223cb5d updated MANIFEST.md 2015-05-14 00:22:39 +02:00
Dimitri Stolnikov 4582df6111 add MANIFST.md for cgran.org 2015-05-14 00:11:01 +02:00
Dimitri Stolnikov 275e6aed19 airspy: comment on used gain values 2015-05-13 00:16:54 +02:00
Dimitri Stolnikov b226b85fa8 README: move sdrplay line to the same position as in grc template 2015-05-12 23:59:32 +02:00
Dimitri Stolnikov 8d25584da3 airspy: query supported samplerates from the firmware 2015-05-12 23:48:43 +02:00
Dimitri Stolnikov 3916b5bc4f cmake: added ENABLE_NONFREE option to enable nonfree components. 2015-05-12 23:30:45 +02:00
Dimitri Stolnikov 3793a5e8b1 updated AUTHORS 2015-05-12 23:29:05 +02:00
Dimitri Stolnikov 17c9497d4d sdrplay: added copyright 2015-05-12 23:28:35 +02:00
SDRplay be9af0fe6f changed bufi and bufq to std::vector 2015-04-28 22:35:18 +02:00
SDRplay 79b53f50e4 changed bufi and bufq to std::vector 2015-04-28 22:35:18 +02:00
SDRplay afed5df615 Added SDRplay RSP support
Initial build for SDRplay RSP support. Basic functionality, AGC etc. to
be added
2015-04-28 22:35:18 +02:00
Josh Blum 3532d60c11 osmo: minor msvc fixes for bladerf_common.h 2015-04-28 22:27:53 +02:00
Josh Blum c092f9e2a3 osmo: minor build tweaks w/ rtl on msvc 2015-04-28 22:27:53 +02:00
Josh Blum 61184a19e7 soapy: make use of per component freq api 2015-02-24 20:36:36 -08:00
Josh Blum 53ed8918f3 soapy: ordering of elements for bb/if gain 2015-02-17 19:57:27 -08:00
Josh Blum a960600a1e soapy: start/stop hooks should use de/activate return code 2015-02-16 23:15:26 -08:00
Josh Blum cd0d9350c6 soapy: fix set_dc_offset_mode implementation 2015-02-16 21:25:38 -08:00
Josh Blum 535a505069 soapy: fixes from last commit w/ field test 2015-02-16 21:04:05 -08:00
Josh Blum 6d6a483cfb soapy: filled in the source and sink implementation 2015-02-15 19:20:01 -08:00
Josh Blum 3afcb7e04f soapy: began work on soapy sdr support 2015-02-15 17:57:12 -08:00
Dimitri Stolnikov 48045b597d bladerf: include rxvga1 to the BB gain setting
Patch provided by Samu Laaja
2015-01-10 14:01:09 +01:00
Dimitri Stolnikov 46bb1ad1a0 airspy: increase version string size to 128 2014-12-16 00:15:26 +01:00
Dimitri Stolnikov 20fd6a8c34 airspy: implement DC bias control
use with -a "airspy,bias=1" to enable DC bias on antenna input
2014-11-27 16:38:25 +01:00
Dimitri Stolnikov 163cad2e96 airspy: remove deprecated init/exit calls 2014-11-27 16:28:30 +01:00