Commit Graph

329 Commits

Author SHA1 Message Date
Dimitri Stolnikov f81bf7cf12 uhd: return default subdev in get_devices 2013-01-10 20:30:38 +01:00
Dimitri Stolnikov aed2a94769 rtl: return new style label (with SN) in get_devices 2013-01-10 20:29:19 +01:00
Dimitri Stolnikov 61674dd638 file: add get_devices member which returns a default device 2013-01-10 20:28:16 +01:00
Dimitri Stolnikov 887dbb1457 rtl_tcp: add get_devices member which returns a default device 2013-01-10 20:27:56 +01:00
Dimitri Stolnikov 9bfce2694f rtl: return an appropriate tuning range when in direct sampling mode 2013-01-02 23:13:10 +01:00
Dimitri Stolnikov 6ad2043130 rtl_tcp: use gnuradio convention for indent 2013-01-02 00:29:07 +01:00
Dimitri Stolnikov 6ae9c1b4dc update tuning ranges 2013-01-01 23:03:31 +01:00
Dimitri Stolnikov 43a6afdf28 rtl_tcp: add support for tuner caps discovery 2012-12-29 17:01:33 +01:00
Dimitri Stolnikov ad2e5523cb fill up missing radio channel(s) with gaussian noise
This is being done to prevent the application from crashing
due to a gnuradio bug. The GR maintainers have been informed.
2012-12-25 16:51:56 +01:00
Dimitri Stolnikov ccff99ea4f uhd: add lo_offset argument
This might be used to tune away from the noisy center region caused by
direct conversion receiver principle. The offset shall be choosen within
receiver (daughterboard) bandwidth.

Thanks to Marcus Leech & G0HWW for the original idea.
2012-11-29 22:38:52 +01:00
Dimitri Stolnikov 2193c32ae0 rtl, rtl_tcp: enable 250k rate as it has been verified for gmr and tetra 2012-11-28 22:40:28 +01:00
Dimitri Stolnikov cd638cef3e miri: don't parse buffers argument as double 2012-11-28 21:07:34 +01:00
Dimitri Stolnikov a314b43162 osmosdr: introduce buflen argument
this might be helful for rates <1MSPS
value must be multiple of 512 bytes
2012-11-28 21:06:43 +01:00
Dimitri Stolnikov 8041472ff7 rtl: introduce buflen argument
this might be helful for rates <1MSPS
value must be multiple of 512 bytes
2012-11-28 20:52:41 +01:00
Dimitri Stolnikov 380d23ae72 update swig doxygen helper 2012-11-17 17:00:38 +01:00
Dimitri Stolnikov 7753c3186b update cmake hints in gnuradio modules 2012-11-17 17:00:04 +01:00
Dimitri Stolnikov cf807398c8 rtl: print a user friendly message if unable to parse the argument 2012-11-04 15:08:16 +01:00
Dimitri Stolnikov 933c0e21b1 rtl: open device by given serial, fall back to index value if not found
the serial number of a rtl device can be changed using the "rtl_eeprom -
2012-11-04 14:25:00 +01:00
Steve Markgraf a13bc485ed miri: fix crackle due to garbage samples
The amount of input samples in the callback can vary
due to the nature of the isochronous transfers.

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-16 18:27:56 +02:00
Steve Markgraf bd0628e1dc miri: we don't have get_sample_rates in libmirisdr
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-14 19:00:26 +02:00
Steve Markgraf 8c3786336f rtl: add offset tuning as device parameter
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-10-10 21:03:48 +02:00
Dimitri Stolnikov dee9d3e696 update available samplerates for rtl devices
250k didn't work for TETRA and GMR, 2M has.
2012-09-30 20:58:21 +02: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 c51b04ee74 don't throw exceptions inside a gr_hier_block2 ctor
This avoids throws in ctor of gr_hier_block2, as gnuradio is unable to
deal with this behavior in a clean way. The GR maintainer Rondeau has
been informed.
2012-09-30 16:54:34 +02:00
Steve Markgraf 0f25daec61 rtl: add direct_samp as device parameter
This can be used to enable the direct sampling mode
of an rtlsdr stick, e.g.:

For input 1 (In-phase ADC):
rtl=0,direct_samp=1

For input 2 (Quadrature ADC):
rtl=0,direct_samp=2

Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-09-16 17:01:32 +02:00
Dimitri Stolnikov 36a92a92bf disable size_vector_t template
definition in swig interface

this avoids a compile-time warning.
2012-08-08 21:16:10 +02:00
Dimitri Stolnikov e3c60c4a70 rtl: print overflow marker to stderr 2012-08-08 20:45:03 +02:00
Dimitri Stolnikov bb2833250c osmosdr: print overflow marker to stderr 2012-08-08 20:42:45 +02:00
Dimitri Stolnikov a43fef00a7 rtl: wait for worker thread to complete without a timeout 2012-08-08 20:31:51 +02:00
Dimitri Stolnikov fe8984dfa5 osmosdr: wait for worker thread to complete without a timeout 2012-08-08 20:31:38 +02:00
Dimitri Stolnikov e3bea99310 rtl: check for NULL buffers 2012-08-08 20:27:27 +02:00
Dimitri Stolnikov f0b3de4d54 osmosdr: check for NULL buffers 2012-08-08 20:26:48 +02:00
Christian Gagneraud 6a1600eb93 Add swig hint for devices_t objects
Signed-off-by: Christian Gagneraud <chris@techworks.ie>
Signed-off-by: Steve Markgraf <steve@steve-m.de>
2012-08-06 18:54:48 +02:00
Dimitri Stolnikov 69a74abc78 add swig hints for range and device objects
Use case:

print "\nSupported rates:"
for rate in self.osmosdr_source_c_0.get_sample_rates():
	print rate.start()

print "\nSupported gains:"
for gain in self.osmosdr_source_c_0.get_gain_range():
	print gain.start()
2012-08-05 21:46:36 +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 3a624df99b add boost-system library to dependency list
this seems to be required on OSX with boost 1.50+
2012-08-01 22:57:29 +02:00
Dimitri Stolnikov f32eb2657c update GRC documentation 2012-08-01 22:57:21 +02:00
Dimitri Stolnikov ff6615e08f rtl: explicitly set agc mode (off by default) 2012-08-01 22:57:11 +02:00
Dimitri Stolnikov ae3f9b6ce6 update GRC files with the new if gain API 2012-07-18 21:25:37 +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 0b5f48eb07 osmosdr: automatically increase if gain when required 2012-07-08 23:56:18 +02:00
Dimitri Stolnikov f9acc7edf6 rtl: automatically increase if gain when required 2012-07-08 23:56:05 +02:00
Dimitri Stolnikov 10f0d89348 update gain names 2012-07-01 12:43:22 +02:00
Dimitri Stolnikov 604a9d79b0 use clip method provided by range class to pick gain values 2012-07-01 11:38:46 +02:00
Dimitri Stolnikov 1ea5a90b19 rtl: add sample rate 250k 2012-07-01 11:20:40 +02:00
Dimitri Stolnikov 8fc150c64d fix frequency range definition for e4k based devices 2012-07-01 11:18:29 +02:00
Dimitri Stolnikov c92822469c use endianness provided by boost 2012-06-29 21:27:22 +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 fd83f5f33f osmosdr: include serial in label property 2012-06-09 20:03:57 +02:00