aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2014-08-26update version to 0.1.2v0.1.2Dimitri Stolnikov1-1/+1
2014-08-26cmake: update from gnuradio masterDimitri Stolnikov8-21/+184
- Update the GrXXX modules from the GNURadio master - Force 3.7.3 since previous FindGnuradio was broken
2014-08-25hackrf: extend frequency range down to BW/2Dimitri Stolnikov2-2/+2
2014-08-25python: Remove an old workaround for a swig bugDimitri Stolnikov1-26/+1
following gnuradio commit 39f14138ac9158eb0610e89a2ae1f8290f184c44 This has been removed of Gnuradio iteself in 2012 and this seems to be causing issues for some OOT on some platforms...
2014-08-14Allows connecting to IPv6 hosts if an AAAA record is presentJeremy Visser1-1/+1
and /etc/gai.conf is not configured to prefer IPv4 hosts. The current logic handling the output of getaddrinfo() is flawed in that it only ever attempts to connect() to the first address returned. This is a problem for both round-robin and dual-stack hosts. Furthermore, rtl_tcp_source_c::rtl_tcp_source_c() assumes a colon in the device string is a port number. This prevents the use of raw IPv6 addresses. The function will need to be taught how to handle IPv6 addresses contained within square brackets, e.g. "rtl_tcp=[2001:db8::1]:1234". Therefore further work is required to improve the handling of multiple addresses, and also device strings containing raw IPv6 addresses. Signed-off-by: Jeremy Visser <jeremy@visser.name>
2014-08-14rtl: fix large output buffers handlingJiří Pinkava1-23/+17
When size of output buffer was larger than size of input buffer, uderflow occured because no check on number of avalilable data was done. This also improves buffer filling for large output buffers, fill output until anny input is available.
2014-08-14hackrf: extend frequency range down to 10MHzDimitri Stolnikov2-2/+2
2014-07-11bladeRF: Add XB-200 supportRobert Ghilduta2-3/+38
This commit adds support for the bladeRF XB-200 transverter expansion board. To enable the expansion board and to allow the osmocom source or sink to tune down to 0Hz, parameter xb200 has to be set. XB-200 comes with 4 filter banks which can be selected by passing their name as a value of the xb200 parameter. Automatic filter selection will be enabled if no value is given to the xb200 parameter. Example: osmocom_fft -a bladerf,xb200 osmocom_fft -a bladerf,xb200=50M The following values are valid: "custom" : custom band "50M" : 50MHz band "144M" : 144MHz band "222M" : 222MHz band "auto3db" : Select fiterbank based on -3dB filter points "auto" : Select filerbank based on -1dB filter points (default)
2014-05-06bladerf: Accept 'loopback' parameter only on a sourceJon Szymaniak1-4/+17
To alleviate some confusion (described below), the 'loopback' parameter may now only be applied to a bladeRF source. A warning will be printed if it is applied to a sink. This is intended to help users avoid the case where two different loopback options are applied to the same device. In this case, the loopback setting on whichever initializes last will be applied. This, coupled with the fact that not specifying a loopback defaults to loopback=none, yields rather unintuitive behavior.
2014-05-06bladerf: Apply 'verbosity' parameter before performing other operationsJon Szymaniak1-3/+3
Setting the libbladeRF verbosity level needs to be performed prior to other operations. Otherwise, the desired diagnostic output will not appear for startup operations (e.g., device opening, enabling loopback).
2014-05-04osmosdr: use a fixed output signature of 1x gr_complexDimitri Stolnikov1-1/+1
2014-05-04uhd: implement stream arguments for sample formatDimitri Stolnikov2-26/+85
cpu_format: sc8, sc16, fc32, fc64 otw_format: sc8, sc16 fullscale: specifies the full-scale amplitude when using floats. peak: specifies a fractional sample level to calculate scaling with the sc8 wire format. example: osmocom_fft -a uhd,otw_format=sc8,fpga=usrp1_fpga_4rx.rbf -s 16M
2014-05-03uhd: catch exceptions from dc offset & iq imbalance settersDimitri Stolnikov2-17/+41
since dc offset / iq imbalance is not implemented for recent USRPs this might cause undesired behavior in GRC. As a workaround we do not pass them to the caller but print them to the stderr.
2014-04-16uhd: pass through only the requested number of channelsDimitri Stolnikov2-2/+4
B210 USRP appears as a 2-channel device by default. We prevent weird application behavior by restricting the number of connected channels to the value given via nchan= argument (1 by default).
2014-04-16grc: fix template for gain mode setterDimitri Stolnikov1-4/+4
Problem observed & reported by Michael Dickens with swig 3.0.0, local swig 2.0.11 seems not to be affected.
2014-04-14bladeRF: Fixed typo in handling 'stream_timeout_ms' device argumentJon Szymaniak1-1/+1
2014-03-31update version to 0.1.2gitDimitri Stolnikov1-2/+2
2014-03-31update version to 0.1.1v0.1.1Dimitri Stolnikov1-1/+1
2014-03-14apps/fft: make recording controls visible, but don't record by defaultDimitri Stolnikov1-66/+60
To start recording, verify the filename and press REC button...
2014-03-11apps/fft: implement file recording capabilityDimitri Stolnikov1-5/+104
Available wildcards: %S: sample rate %F: center frequency %T: timestamp (%Y%m%d%H%M%S) Example: osmocom_fft -r /tmp/name-f%F-s%S-t%T.cfile
2014-03-11apps/siggen: add parameter to specify named gainsDimitri Stolnikov1-0/+19
2014-03-10file: expose seek function in public APIDimitri Stolnikov6-7/+45
2014-03-10rtl: implement methods allowing runtime to control sampling processDimitri Stolnikov2-6/+30
2014-03-10bladerf: Fixed bug in cached device cleanupJon Szymaniak1-4/+10
A couple issues were present in bladerf_common::close, which caused entries in the _devs list (our "device cache") to not be removed. This would result in a stale device handle being used upon attempting to reopen the device. Two issues were associated with this bug: - The weak_ptr expired() conditional was incorrect; the logic was inverted. - The list item removal and iterator increment was done incorrectly and would result in a crash after the first item was fixed.
2014-03-10bladerf: Updated source/sink to use libbladeRF's sync interfaceBrian Padalino6-455/+139
2014-03-10source/sink: don't return void in void functionsDimitri Stolnikov2-4/+4
2014-02-20hackrf: signed samples, following commit fd77cfe8a6Hoernchen3-20/+18
2014-02-16bladeRF: RXVGA2 range is [0, 30]Jon Szymaniak1-1/+1
While the RXVGA2 gain can technically go up to 60 dB, the LMS6002D datasheet recommends it be clamped to 30dB. libbladeRF clamps to a max of 30dB, so there's no use in setting max to 60 dB here.
2014-02-16bladerf: Added 'verbosity' and 'loopback' device parametersJon Szymaniak2-0/+67
The 'verbosity' parameter may be used to increase or suppress output from libbladeRF. The available log levels are, in order of decreasing verbosity are: verbose, debug, info, warning, critical, silent The 'loopback' parameter may be used to put the bladeRF into one of the supported loopback modes. The valid modes are listed below. Their descriptions may be found in the libbladeRF documentation: bb_txlpf_rxvga2, bb_txlpf_rxlpf bb_txvga1_rxvga2, bb_txvga1_rxlpf rf_lna1, rf_lna2, rf_lna3
2014-02-11osmosdr/rtl/miri/hackrf: use 15 buffers by defaultDimitri Stolnikov5-8/+8
folowing rtl-sdr commit 89f73b183f2dac9c0dd75beca4cf2f77f20c4a36 So far we had 32 * 256KB which was a bit overkill, 15 are more than enough. 15 was chosen instead of 16 because at least on Linux there seems to be a system-wide limit of 63 transfers (when they are 256KB large), so 4 dongles can be used on a single machine without lowering the default transfer number.
2014-02-09airspy: add support for AirSpy wideband receiverDimitri Stolnikov11-1/+855
Requires https://github.com/airspy/host Usage example: osmocom_fft -a airspy The following named gain stages are available: LNA: 0 to 15, step 1 MIX: 0 to 15, step 1 IF: 0 to 15, step 1 At the moment the gains are not in dB but gain indices internal to R820t tuner.
2014-01-26rfspace: properly cover the absense of a serial numberDimitri Stolnikov1-1/+3
2014-01-18bladeRF: Modifying correction calls.Brian Padalino4-60/+42
Modifying correction function calls to match libbladeRF API.
2014-01-13bladerf: Removed sign extension and masking of samplesJon Szymaniak1-10/+17
This is no longer required as of FPGA v0.0.1, and has been removed to remove some unnecessary computation on samples.
2014-01-13bladerf: Updates for libbladeRF v0.11.0 API changesJon Szymaniak3-11/+23
2014-01-13bladerf: Use rational sample rate functionsJon Szymaniak4-69/+48
libbladeRF provides accessors for rational sample rates, which the integer sample rate functions use under the hood. Therefore, there's no need to check if the requested rate contains a fractional portion and switch between the two sets of functions.
2014-01-13bladerf: Added start()/stop() implementationsJon Szymaniak4-73/+109
2014-01-11osmocom_fft: print the exception thrown in DC/IQ correction settersDimitri Stolnikov1-6/+16
2014-01-11osmocom_siggen: add controls for DC offset and IQ imbalance correctionDimitri Stolnikov2-0/+161
2014-01-11bladerf: shorten the serial number that is being shown to the userDimitri Stolnikov1-1/+11
2014-01-11bladerf: implement DC offset and IQ imbalance correctionDimitri Stolnikov4-13/+99
This patch has been provided by Brent J.
2013-12-28bladerf: FX3 firmware loading not supported from within gr-osmosdrDimitri Stolnikov1-1/+1
2013-12-28bladerf: prepare functions to control DC offset / IQ balance (WIP)Dimitri Stolnikov2-0/+45
2013-12-28apps/osmocom_fft: gui to set DC offset / IQ imbalance correction modeDimitri Stolnikov1-23/+249
2013-12-27rfspace: add missing header for basename()Dimitri Stolnikov1-0/+1
2013-12-22osmocom_fft: Properly set initial sample rate for fosphor outputSylvain Munaut1-0/+1
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-12-22rfspace: add support for RFSPACE SDR-IQ and SDR-IPDimitri Stolnikov10-1135/+1749
Usage example: osmocom_fft -a sdr-iq=/dev/ttyUSB0 osmocom_fft -a sdr-ip=host[:port] osmocom_fft -a netsdr=host[:port][,nchan=2] The following named gain stages are available: SDR-IQ: ATT: -20 to +10 dB, in 10dB steps SDR-IP: ATT: -30 to 0 dB, in 10dB steps The ftdi_sio driver is being used for SDR-IQ. It creates a character device of the form: crw-rw---- 1 root dialout 188, 0 Dec 19 22:14 /dev/ttyUSB0 To be able to open the device without root permissions add yourself to the "dialout" group or do a "chmod 666 /dev/ttyUSB0" after pluggin in.
2013-12-10device: implement "nofake" hint to exclude dummy devices from discoveryDimitri Stolnikov6-14/+28
usage example: osmosdr::device_t hint( "nofake" ); osmosdr::devices_t devs = osmosdr::device::find( hint );
2013-12-10cmake: pull updates from gnuradio masterDimitri Stolnikov2-1/+14
2013-12-10add UmTRX to the list of supported devicesDimitri Stolnikov2-0/+2
requires Fairwaves' port of the Ettus UHD library: https://github.com/fairwaves/UHD-Fairwaves