Commit Graph

34 Commits

Author SHA1 Message Date
Dimitri Stolnikov 448206b2d2 hackrf: implement full control for RF/IF/BB gain stages
the following named gain stages are available:

RF: MGA-81563, switchable 0 or 14dB
IF: MAX2837 LNA, 0 to 40dB in 8dB steps
BB: MAX2837 VGA, 0 to 62dB in 2dB steps
2013-04-13 23:12:22 +02:00
Dimitri Stolnikov f5670788fc hackrf: add support for HackRF devices through libhackrf

- gain control for LNA & VGA
- frequency error correction
- automatic baseband filter
- up to 20M sampling rate


- no DC offset correction implemented (yet)
- no RX preamplifier control (disabled by default)
- high sampling rates may not work on slow machines
2013-04-10 21:05:14 +02:00
Dimitri Stolnikov e415d843c7 add support for software IQ imbalance correction
this functionality depend on the gr-iqbal blocks developed by Sylvain
Munaut and is a compile time dependency:
2013-03-11 21:06:13 +01:00
Dimitri Stolnikov ede9c80455 rtl_tcp: add direct_samp and offset_tune args like used in rtl= target 2013-02-18 20:43:35 +01:00
Dimitri Stolnikov 91a93a39bc grc: updated documentation with recently introduced arguments 2013-01-21 20:37:56 +01:00
Dimitri Stolnikov 2878501284 add support for MSi2500 based DVB-T dongles through libmirisdr
this has been tested with analog modes only and still has to be
verified with the usual digital modes for proper implementation.
2012-09-30 20:12:48 +02:00
Dimitri Stolnikov bb0adf48e5 preset default if gain value in GRC to the one used outside of GRC 2012-08-01 22:57:36 +02:00
Dimitri Stolnikov f32eb2657c update GRC documentation 2012-08-01 22:57:21 +02:00
Dimitri Stolnikov 86ec5d3b73 add if gain setter API for rtl-sdr
and OsmoSDR devices

Observations lead to an useful gain
range from 15 to 30dB, a value of
24dB is used by default.
2012-07-18 21:24:57 +02:00
Dimitri Stolnikov 9c8f240a63 remove annoyingly hubristic source name 2012-06-22 00:39:35 +02:00
Dimitri Stolnikov b7c06541c3 add virtual rtlsdr source and move both to 'Sources' category in GRC 2012-06-12 21:45:01 +02:00
Dimitri Stolnikov 38811fb853 uhd: remove the equal character from uhd argument 2012-06-09 16:26:49 +02:00
Dimitri Stolnikov b2128bc864 fix escape sequence for uhd device arguments example 2012-05-27 17:58:44 +02:00
Dimitri Stolnikov 3ea0b38810 introduce device discovery api
This API allows to acquire a list of devices connected to the host and
creates an argument string ready to be passed to a source object for

Each device_t entry contains a "label" entry, which holds the generic
device name which may be shown to the user for device selection.

For certain radio hardware extended entries ("name", "serial", "type")
may be available to make bijective device addressing possible.

The argument string for target types "rtl_tcp" and "file" might be
constructed using the osmosdr::device_t class facilities.


 #include <osmosdr_device.h>
 #include <osmosdr_source_c.h>

osmosdr::devices_t devs = osmosdr::device::find();

BOOST_FOREACH(osmosdr::device_t &dev, devs) // try to create each dev
  osmosdr_source_c_sptr src = osmosdr_make_source_c(dev.to_string());
2012-05-20 12:55:52 +02:00
Dimitri Stolnikov 8c0be96215 grc: change gain_mode type to int to allow switching at runtime 2012-05-19 22:26:25 +02:00
Dimitri Stolnikov 8e82b44bff rtl_tcp: change device argument syntax to host[:port]
without any arguments the code will try to connect to localhost:1234
2012-05-13 19:49:07 +02:00
Dimitri Stolnikov 52dea1e0b7 remove unused grc source/sink block files 2012-05-12 20:19:45 +02:00
Dimitri Stolnikov e38dc2f427 rtl_tcp: implement sample rate and gain control 2012-05-06 19:42:27 +02:00
Dimitri Stolnikov f94d8da48e rtl_tcp: add initial component files
For use with the rtl_tcp utility acting as a spectrum server.

The "empty" rtl_tcp= device hint might be used to connect to rtl_tcp
running on local machine.
2012-05-05 23:47:00 +02:00
Dimitri Stolnikov ba0b52868a changed logic value for automatic gain mode
sorry boys & girls!
2012-05-05 21:06:54 +02:00
Dimitri Stolnikov a6d6602d8a fcd is supported only in single device mode
this is due to underlying original driver's (in)capabilities
2012-05-05 19:00:00 +02:00
Dimitri Stolnikov 0a4b9264a3 rtl_source_c: add buffers argument 2012-05-05 17:50:21 +02:00
Dimitri Stolnikov 47734f299d use manual gain mode by default 2012-05-05 15:00:35 +02:00
Dimitri Stolnikov 61c2ac81ac change callback order for gain settings 2012-05-05 01:42:03 +02:00
Dimitri Stolnikov 3a47e3661c add api for manual gain mode control 2012-05-05 00:43:32 +02:00
Dimitri Stolnikov f0ac70fa41 file: initial file source support
2012-04-29 19:55:28 +02:00
Dimitri Stolnikov 34baaf3f93 rtl: add xtal arguments for rtl and tuner chips 2012-04-29 19:53:17 +02:00
Dimitri Stolnikov 0216d1022b update GRC files for multichannel source 2012-04-28 20:20:07 +02:00
Dimitri Stolnikov afac8e8c42 add template based GRC block generation script 2012-04-26 19:07:27 +02:00
Dimitri Stolnikov 554899750e add throttle tag to sink block
follows commit 1f8491ed13
2012-04-12 20:32:05 +02:00
Dimitri Stolnikov 52508a80df don't install sink interface as it's unimplemented
the transmitter hardware is in the works at Maintech
2012-04-12 20:24:05 +02:00
Steve Markgraf 1f8491ed13 add throttle tag to source block
This prevents a warning by GRC.
Thanks to patchvonbraun, who suggested this change.

Signed-off-by: Steve Markgraf <>
2012-04-12 02:04:38 +02:00
Dimitri Stolnikov 3ddcdbd8b8 update GRC integration 2012-04-11 23:40:27 +02:00
Dimitri Stolnikov 0efd28de6b initial commit 2012-04-06 15:29:14 +02:00