aboutsummaryrefslogtreecommitdiffstats
path: root/lib/device.cc
AgeCommit message (Collapse)AuthorFilesLines
2020-11-01Remove disabled OsmoSDR and MiriSDR codeClayton Smith1-16/+0
OsmoSDR and MiriSDR support was disabled in v0.2.1 because the hardware is rare and obsolete. I think it would be useful to completely remove the associated code, since this will reduce the future maintenance burden for gr-osmosdr. Signed-off-by: Eric Wild <ewild@sysmocom.de>
2020-11-01Replace BOOST_FOREACH with range-based for loopsClayton Smith1-20/+19
Range-based for loops are available since C++11. Using them reduces gr-osmosdr's dependence on Boost. Here I've done the replacement using a global search-and-replace. Signed-off-by: Eric Wild <ewild@sysmocom.de>
2020-08-02A lot of Boost functionality is available in C++11. Since GNU Radio is ↵Clayton Smith1-3/+3
moving away from Boost, it probably makes sense to do so in gr-osmosdr as well. This change removes all usage of boost::mutex, boost::mutex::scoped_lock, boost::unique_lock, and boost::condition_variable. It also removes usage of boost::shared_ptr and boost::weak_ptr outside of block definitions (which must continue to use Boost until GNU Radio 3.9). Signed-off-by: Eric Wild <ewild@sysmocom.de>
2020-02-16airspyhf: Add initial support for Airspy HF+Alexandru Csete1-0/+8
Info: http://airspy.com/airspy-hf-plus/ From: Alexandru Csete <oz9aec@gmail.com> Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2017-04-18Add support for FreeSRPLukas Lao Beyer1-0/+8
This patch adds support for both receiving and transmitting using the FreeSRP. More information on the FreeSRP can be found at: http://freesrp.org The gr-osmosdr blocks added make use of libfreesrp, the library required for interfacing with this device. The libfreesrp source code is freely available at https://github.com/freesrp/libfreesrp Usage example: osmocom_fft -a "freesrp"
2017-02-02soapy: added device::find() supportJosh Blum1-0/+8
Was missing from the implementation. Now devices with a label show up nicely in GQRX
2016-01-10add Red Pitaya discovery in device find functionDimitri Stolnikov1-0/+9
2015-04-28Added SDRplay RSP supportSDRplay1-0/+8
Initial build for SDRplay RSP support. Basic functionality, AGC etc. to be added
2014-02-09airspy: add support for AirSpy wideband receiverDimitri Stolnikov1-1/+8
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.
2013-12-22rfspace: add support for RFSPACE SDR-IQ and SDR-IPDimitri Stolnikov1-4/+4
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 Stolnikov1-3/+8
usage example: osmosdr::device_t hint( "nofake" ); osmosdr::devices_t devs = osmosdr::device::find( hint );
2013-10-26netsdr: add support for RFSPACE NetSDR receiverDimitri Stolnikov1-0/+9
- implements broadcast UDP based device discovery - prints device information (serial/versions) on startup - reads available frequency range(s) from the device - integrity checks of IQ stream using sequence numbers - automatic bandpass or a wideband lowpass selectable The following named gain stages are available: ATT: -30 to 0 dB, in 10dB steps Known limitations: - setting the sample rate is possible only before the flowgraph has been started
2013-07-21bladerf: add support for nuand LLC bladeRF (WIP)Dimitri Stolnikov1-2/+9
This is based on the original work (https://github.com/Nuand/gr-osmosdr) done by folks at nuand LLC for the gr3.6 branch of gr-osmosdr. The following modifications have been done in this commit: * port to gr-osmosdr master codebase (gr3.7) * moved shared properties to bladerf_common * added & verified IF filter bandwidth setters * set LMS6002D registers with values taken from FAQ 5.27 * print device information (serial/versions) on startup * added fpga= and fw= device arguments to program MCU/FPGA * added bladerf=# dev. arg. to select a specific bladeRF * grc gain field controls RF path VGA for RX/TX * grc BB gain field controls BB path VGA for RX/TX Usage example: osmocom_fft -a "bladerf,fpga=/tmp/hostedx115.rbf" The following RX named gain stages are available: LNA: 0 to 6 dB, in 3dB steps VGA1: 5 to 30 dB, in 1dB steps; nonlinear mapping done inside the lib VGA2: 0 to 60 dB, in 3dB steps; not recommended to be used above 30dB The following TX named gain stages are available: VGA1: -35 to -4 dB, in 1dB steps, BB side VGA2: 0 to 25 dB, in 1dB steps, RF side Thanks a lot to the team of nuand LLC for this major contribution.
2013-05-30introduce osmosdr namespace, remove _c suffixDimitri Stolnikov1-0/+155
- the namespace conversion adopts the common gnuradio coding guidelines - suffix removal is a preparation to support 8/16 bit complex data types